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

Unified Diff: content/renderer/mock_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
Index: content/renderer/mock_content_renderer_client.h
===================================================================
--- content/renderer/mock_content_renderer_client.h (revision 98458)
+++ content/renderer/mock_content_renderer_client.h (working copy)
@@ -6,6 +6,8 @@
#define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
#pragma once
+#include <string>
+
#include "base/compiler_specific.h"
#include "content/renderer/content_renderer_client.h"
@@ -53,6 +55,14 @@
virtual bool ShouldOverridePageVisibilityState(
const RenderView* render_view,
WebKit::WebPageVisibilityState* override_state) const OVERRIDE;
+ virtual bool HandleGetCookieRequest(RenderView* render_view,
+ const GURL& url,
+ const GURL& first_party_for_cookies,
+ std::string* cookies) OVERRIDE;
+ virtual bool HandleSetCookieRequest(RenderView* render_view,
+ const GURL& url,
+ const GURL& first_party_for_cookies,
+ const std::string& value) OVERRIDE;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698