Index: content/renderer/content_renderer_client.h |
=================================================================== |
--- content/renderer/content_renderer_client.h (revision 98458) |
+++ content/renderer/content_renderer_client.h (working copy) |
@@ -109,6 +109,20 @@ |
virtual bool ShouldOverridePageVisibilityState( |
const RenderView* render_view, |
WebKit::WebPageVisibilityState* override_state) const = 0; |
+ |
+ // Return true if the GetCookie request can be handled by the embedder. |
jam
2011/08/28 21:44:42
nit: just to make it clear, "can be" should be "wi
ananta
2011/08/29 19:12:25
Done.
|
+ // Cookies are returned in the cookie parameter. |
+ virtual bool HandleGetCookieRequest(RenderView* render_view, |
+ const GURL& url, |
+ const GURL& first_party_for_cookies, |
+ std::string* cookies) = 0; |
+ |
+ // Return true if the SetCookie request can be handled by the embedder. |
+ // Cookies to be set are passed in the value parameter. |
+ virtual bool HandleSetCookieRequest(RenderView* render_view, |
+ const GURL& url, |
+ const GURL& first_party_for_cookies, |
+ const std::string& value) = 0; |
}; |
} // namespace content |