Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: content/renderer/content_renderer_client.h

Issue 7764014: Remove handling for the ViewHostMsg_GetCookies and ViewHostMsg_SetCookies from Chrome. These mess... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/renderer/mock_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/content_renderer_client.h
===================================================================
--- content/renderer/content_renderer_client.h (revision 98657)
+++ content/renderer/content_renderer_client.h (working copy)
@@ -9,6 +9,7 @@
#include <string>
#include "base/string16.h"
+#include "ipc/ipc_message.h"
#include "content/common/content_client.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityState.h"
@@ -109,6 +110,20 @@
virtual bool ShouldOverridePageVisibilityState(
const RenderView* render_view,
WebKit::WebPageVisibilityState* override_state) const = 0;
+
+ // Return true if the GetCookie request will be handled by the embedder.
+ // Cookies are returned in the cookie parameter.
+ virtual bool HandleGetCookieRequest(RenderView* sender,
+ const GURL& url,
+ const GURL& first_party_for_cookies,
+ std::string* cookies) = 0;
+
+ // Return true if the SetCookie request will be handled by the embedder.
+ // Cookies to be set are passed in the value parameter.
+ virtual bool HandleSetCookieRequest(RenderView* sender,
+ const GURL& url,
+ const GURL& first_party_for_cookies,
+ const std::string& value) = 0;
};
} // namespace content
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/renderer/mock_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698