Index: android_webview/lib/aw_content_browser_client.h |
diff --git a/android_webview/lib/aw_content_browser_client.h b/android_webview/lib/aw_content_browser_client.h |
index 0972032282d0733a264e39f8e1e8b7da47bd1ddc..8b75c99500138abd59ecbbde49997cccd7eb987b 100644 |
--- a/android_webview/lib/aw_content_browser_client.h |
+++ b/android_webview/lib/aw_content_browser_client.h |
@@ -18,6 +18,19 @@ class AwContentBrowserClient : public chrome::ChromeContentBrowserClient { |
// Overriden methods from ContentBrowserClient. |
virtual void ResourceDispatcherHostCreated() OVERRIDE; |
+ virtual bool AllowGetCookie(const GURL& url, |
+ const GURL& first_party, |
+ const net::CookieList& cookie_list, |
+ content::ResourceContext* context, |
+ int render_process_id, |
+ int render_view_id) OVERRIDE; |
+ virtual bool AllowSetCookie(const GURL& url, |
+ const GURL& first_party, |
+ const std::string& cookie_line, |
+ content::ResourceContext* context, |
+ int render_process_id, |
+ int render_view_id, |
+ net::CookieOptions* options) OVERRIDE; |
}; |
} // namespace android_webview |