mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add the ability to persist session cookies (issue #881).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1098 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -16,7 +16,8 @@ class CefCookieManagerImpl : public CefCookieManager {
|
||||
~CefCookieManagerImpl();
|
||||
|
||||
// Initialize the cookie manager.
|
||||
void Initialize(const CefString& path);
|
||||
void Initialize(const CefString& path,
|
||||
bool persist_session_cookies);
|
||||
|
||||
// CefCookieManager methods.
|
||||
virtual void SetSupportedSchemes(const std::vector<CefString>& schemes)
|
||||
@@ -28,7 +29,9 @@ class CefCookieManagerImpl : public CefCookieManager {
|
||||
const CefCookie& cookie) OVERRIDE;
|
||||
virtual bool DeleteCookies(const CefString& url,
|
||||
const CefString& cookie_name) OVERRIDE;
|
||||
virtual bool SetStoragePath(const CefString& path) OVERRIDE;
|
||||
virtual bool SetStoragePath(const CefString& path,
|
||||
bool persist_session_cookies) OVERRIDE;
|
||||
virtual bool FlushStore(CefRefPtr<CefCompletionHandler> handler) OVERRIDE;
|
||||
|
||||
net::CookieMonster* cookie_monster() { return cookie_monster_; }
|
||||
|
||||
|
Reference in New Issue
Block a user