diff -r ea9c9681bbaf -r 974c3ee9bf20 netprotocols_plat/cookie_manager_api/inc/cookie.h --- a/netprotocols_plat/cookie_manager_api/inc/cookie.h Fri Jun 11 14:06:05 2010 +0300 +++ b/netprotocols_plat/cookie_manager_api/inc/cookie.h Wed Jun 23 18:48:21 2010 +0300 @@ -30,7 +30,7 @@ class RHTTPHeaders; class TUriC8; - +class TDesC8; // CONSTANTS // Attribute prefix : we have to pack cookies when either passing them over @@ -77,6 +77,7 @@ // cookie was generated. It is important to know it // for correct age calculation. //EAge, // The age of the cookie as estimated by the cache + ELastAttribute }; public : // exported methods @@ -239,7 +240,7 @@ * Copy from an already existing one. * @param aCopyFrom The already existing CCookie object */ - void CopyFromL( const CCookie& aCopyFrom ); + void CopyFromL( const CCookie& aCopyFrom, const TDesC8& aDomain, const TDesC8& aPath, const TDesC8& aPort ); /** * Returns this cookie's StringPool. @@ -266,7 +267,7 @@ * @return TBool indicating the cookies's Version attribute's notoriety. */ TBool IsUnknownVersion() const; - + static CCookie* CloneL( const CCookie& aCopy,const TDesC8& aDomain, const TDesC8& aPath, const TDesC8& aPort); private : // class for internal use /** @@ -278,7 +279,11 @@ * @return A TBool holding the result */ TBool ExpiredNetscapeL( THTTPHdrVal aAttrVal ) const; - + + /* For logging Cookie attributes + * + */ + void Log( TInt aAssociatedId = 0 ) const; /** * Tokenize a string. * @return actual number of tokens