diff options
author | Steve Block <steveblock@google.com> | 2011-02-10 13:59:04 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-10 13:59:04 -0800 |
commit | b4c101d6c944ea6a1a0aad52c354c281f6cdcb4a (patch) | |
tree | a661370b95b046322714c1d65708e7f966dd2bdd /WebKit/android/WebCoreSupport/WebCookieJar.h | |
parent | c2b6a2ab53dae1fbb596bfbfe520f80960ddc34d (diff) | |
parent | 571670f6c01cdf0e24a55c840bee7e8f6e7e9b36 (diff) | |
download | external_webkit-b4c101d6c944ea6a1a0aad52c354c281f6cdcb4a.zip external_webkit-b4c101d6c944ea6a1a0aad52c354c281f6cdcb4a.tar.gz external_webkit-b4c101d6c944ea6a1a0aad52c354c281f6cdcb4a.tar.bz2 |
Merge "Do not accept cookies for file scheme URLs by default"
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebCookieJar.h')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebCookieJar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/WebCookieJar.h b/WebKit/android/WebCoreSupport/WebCookieJar.h index 2f32e1a..1f4266c 100644 --- a/WebKit/android/WebCoreSupport/WebCookieJar.h +++ b/WebKit/android/WebCoreSupport/WebCookieJar.h @@ -49,6 +49,12 @@ public: bool allowCookies(); void setAllowCookies(bool allow); + // Getter and setter for whether we accept cookies for file scheme URLS. + // Defaults to false. Note that calls to the setter are ignored once the + // first instance of this class has been created. + static bool acceptFileSchemeCookies(); + static void setAcceptFileSchemeCookies(bool); + // Instead of this it would probably be better to add the cookie methods // here so the rest of WebKit doesn't have to know about Chromium classes net::CookieStore* cookieStore() { return m_cookieStore.get(); } |