diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 23:48:05 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 23:48:05 +0000 |
commit | 6a3eededf6727c0c15cf33f3eea5e068dcfe5b2c (patch) | |
tree | 6441164eeb12a8efb4bdbefec73e33428d7e4c4a /chrome/renderer/chrome_content_renderer_client.h | |
parent | 6005d68f128bbe5d2769d07ada097ff69fc0286a (diff) | |
download | chromium_src-6a3eededf6727c0c15cf33f3eea5e068dcfe5b2c.zip chromium_src-6a3eededf6727c0c15cf33f3eea5e068dcfe5b2c.tar.gz chromium_src-6a3eededf6727c0c15cf33f3eea5e068dcfe5b2c.tar.bz2 |
Remove handling for the ViewHostMsg_GetCookies and ViewHostMsg_SetCookies from Chrome. These messages
were being handled in Chrome only for ChromeFrame processes, i.e. to route the cookie requests to the
host browser.
We now send out the ChromeViewHostMsg_GetCookies and ChromeViewHostMsg_SetCookies IPCs for ChromeFrame
processes. These are sent out by the embedder instance which lives in the renderer. ChromeRenderMessageFilter
handles these messages.
This is a continuation of the changes to not handle IPC messages from content in Chrome and vice versa.
BUG=87335
TEST=No change in functionality. chrome frame net tests and chrome frame tests should pass.
Review URL: http://codereview.chromium.org/7764014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/chrome_content_renderer_client.h')
-rw-r--r-- | chrome/renderer/chrome_content_renderer_client.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/renderer/chrome_content_renderer_client.h b/chrome/renderer/chrome_content_renderer_client.h index 2ce9639..1b9073e 100644 --- a/chrome/renderer/chrome_content_renderer_client.h +++ b/chrome/renderer/chrome_content_renderer_client.h @@ -6,6 +6,8 @@ #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ #pragma once +#include <string> + #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" #include "content/renderer/content_renderer_client.h" @@ -73,6 +75,14 @@ class ChromeContentRendererClient : public content::ContentRendererClient { virtual bool ShouldOverridePageVisibilityState( const RenderView* render_view, WebKit::WebPageVisibilityState* override_state) const OVERRIDE; + virtual bool HandleGetCookieRequest(RenderView* sender, + const GURL& url, + const GURL& first_party_for_cookies, + std::string* cookies) OVERRIDE; + virtual bool HandleSetCookieRequest(RenderView* sender, + const GURL& url, + const GURL& first_party_for_cookies, + const std::string& value) OVERRIDE; // For testing. void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); |