diff options
| author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 04:02:51 +0000 |
|---|---|---|
| committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 04:02:51 +0000 |
| commit | 674b382acde1e6f5f8919fff715388a37afcedee (patch) | |
| tree | 4e4cad713a552a6f58a2e2ad6ef2688203c025f6 /chrome/browser/renderer_host/render_process_host.h | |
| parent | 71a77a6260e63813d6ab0909f8cba1266863d9ca (diff) | |
| download | chromium_src-674b382acde1e6f5f8919fff715388a37afcedee.zip chromium_src-674b382acde1e6f5f8919fff715388a37afcedee.tar.gz chromium_src-674b382acde1e6f5f8919fff715388a37afcedee.tar.bz2 | |
ChromeFrame currently overrides the request context for intercepting network requests and cookie requests to route them
over the automation channel. This adds needless complexity and race conditions between registering a request context for
a renderer process as the first one wins.
We no longer override the request context in ChromeFrame. For cookie requests we look up the registered render view map
and on finding one we route the request over the automation channel.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=51103
Bug=51103
Review URL: http://codereview.chromium.org/3036038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_process_host.h')
| -rw-r--r-- | chrome/browser/renderer_host/render_process_host.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_process_host.h b/chrome/browser/renderer_host/render_process_host.h index 82c3572..45b643f 100644 --- a/chrome/browser/renderer_host/render_process_host.h +++ b/chrome/browser/renderer_host/render_process_host.h @@ -149,8 +149,7 @@ class RenderProcessHost : public IPC::Channel::Sender, // be called once before the object can be used, but can be called after // that with no effect. Therefore, if the caller isn't sure about whether // the process has been created, it should just call Init(). - virtual bool Init(bool is_extensions_process, - URLRequestContextGetter* request_context) = 0; + virtual bool Init(bool is_extensions_process) = 0; // Gets the next available routing id. virtual int GetNextRoutingID() = 0; |
