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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 102763005: Remove the ChromeFrame specific cookie code between the renderer and browser process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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.h ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
===================================================================
--- chrome/renderer/chrome_content_renderer_client.cc (revision 240900)
+++ chrome/renderer/chrome_content_renderer_client.cc (working copy)
@@ -1129,13 +1129,6 @@
return false;
}
-bool ChromeContentRendererClient::ShouldPumpEventsDuringCookieMessage() {
- // We no longer pump messages, even under Chrome Frame. We rely on cookie
- // read requests handled by CF not putting up UI or causing other actions
- // that would require us to pump messages. This fixes http://crbug.com/110090.
- return false;
-}
-
void ChromeContentRendererClient::DidCreateScriptContext(
WebFrame* frame, v8::Handle<v8::Context> context, int extension_group,
int world_id) {
@@ -1172,33 +1165,6 @@
return true;
}
-bool ChromeContentRendererClient::HandleGetCookieRequest(
- content::RenderView* sender,
- const GURL& url,
- const GURL& first_party_for_cookies,
- std::string* cookies) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeFrame)) {
- IPC::SyncMessage* msg = new ChromeViewHostMsg_GetCookies(
- MSG_ROUTING_NONE, url, first_party_for_cookies, cookies);
- sender->Send(msg);
- return true;
- }
- return false;
-}
-
-bool ChromeContentRendererClient::HandleSetCookieRequest(
- content::RenderView* sender,
- const GURL& url,
- const GURL& first_party_for_cookies,
- const std::string& value) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeFrame)) {
- sender->Send(new ChromeViewHostMsg_SetCookie(
- MSG_ROUTING_NONE, url, first_party_for_cookies, value));
- return true;
- }
- return false;
-}
-
void ChromeContentRendererClient::SetExtensionDispatcher(
extensions::Dispatcher* extension_dispatcher) {
extension_dispatcher_.reset(extension_dispatcher);
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698