summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebCookieJar.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebCookieJar.h')
-rw-r--r--WebKit/android/WebCoreSupport/WebCookieJar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/WebCookieJar.h b/WebKit/android/WebCoreSupport/WebCookieJar.h
index ecaa228..1372064 100644
--- a/WebKit/android/WebCoreSupport/WebCookieJar.h
+++ b/WebKit/android/WebCoreSupport/WebCookieJar.h
@@ -39,6 +39,9 @@ public:
static WebCookieJar* get(bool isPrivateBrowsing);
static void cleanup(bool isPrivateBrowsing);
+ // Flush all cookies to disk. Synchronous.
+ static void flush();
+
// CookiePolicy implementation from external/chromium
virtual int CanGetCookies(const GURL& url, const GURL& first_party_for_cookies, net::CompletionCallback*);
virtual int CanSetCookie(const GURL& url, const GURL& first_party_for_cookies, const std::string& cookie_line, net::CompletionCallback*);