diff -r 2af57effcf41 -r 0713fb089b10 netprotocols_plat/cookie_manager_api/inc/cookie.h --- a/netprotocols_plat/cookie_manager_api/inc/cookie.h Thu Jun 17 12:05:02 2010 +0100 +++ b/netprotocols_plat/cookie_manager_api/inc/cookie.h Thu Jul 22 16:38:27 2010 +0100 @@ -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