--- a/webengine/osswebengine/WebCore/platform/network/symbian/CookieHandler.h Thu Aug 19 10:58:56 2010 +0300
+++ b/webengine/osswebengine/WebCore/platform/network/symbian/CookieHandler.h Tue Aug 31 16:17:46 2010 +0300
@@ -21,7 +21,6 @@
// System includes
#include <e32base.h>
-#include <stringpool.h>
// CONSTANTS
@@ -34,7 +33,7 @@
// FUNCTION PROTOTYPES
// FORWARD DECLARATIONS
-//class RStringPool;
+class RStringPool;
class CCookie;
class RStringF;
class RCookieManager;
@@ -68,7 +67,7 @@
* Creates a new object.
* @return The constructed session.
*/
- static CookieHandler* init(RStringPool aStringPool);
+ static CookieHandler* init();
/**
* adds cookie ,
@@ -88,13 +87,12 @@
* Destructor.
*/
virtual ~CookieHandler();
- void destroy();
- inline RCookieManager* cookieManager(){return m_cookieManager;}
+
private : // constructors
/**
* Constructor.
*/
- CookieHandler( RStringPool aStringPool);
+ CookieHandler( );
/**
* ConstructL.
@@ -163,9 +161,8 @@
*/
void parseCookieFieldsL( const TPtrC& aCookieString,
CookieRecord& aCookieRecord) const;
-
private : // data members
- RStringPool m_stringPool ;// <<has
+ RStringPool* m_stringPool ;// <<has
RPointerArray<CCookie> m_getCookies;// <<has
RCookieManager* m_cookieManager; // NOTE: should not use pointers to r-class, but RCookieManager
// class doesn't provide a default constructor, too bad :(