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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.h

Issue 3187013: Merge 54867 - ChromeFrame currently overrides the request context for interce... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // are correlated with IDs. This way, the Views and the corresponding ViewHosts 52 // are correlated with IDs. This way, the Views and the corresponding ViewHosts
53 // communicate through the two process objects. 53 // communicate through the two process objects.
54 class BrowserRenderProcessHost : public RenderProcessHost, 54 class BrowserRenderProcessHost : public RenderProcessHost,
55 public NotificationObserver, 55 public NotificationObserver,
56 public ChildProcessLauncher::Client { 56 public ChildProcessLauncher::Client {
57 public: 57 public:
58 explicit BrowserRenderProcessHost(Profile* profile); 58 explicit BrowserRenderProcessHost(Profile* profile);
59 ~BrowserRenderProcessHost(); 59 ~BrowserRenderProcessHost();
60 60
61 // RenderProcessHost implementation (public portion). 61 // RenderProcessHost implementation (public portion).
62 virtual bool Init(bool is_extensions_process, 62 virtual bool Init(bool is_extensions_process);
63 URLRequestContextGetter* request_context);
64 virtual int GetNextRoutingID(); 63 virtual int GetNextRoutingID();
65 virtual void CancelResourceRequests(int render_widget_id); 64 virtual void CancelResourceRequests(int render_widget_id);
66 virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params); 65 virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params);
67 virtual bool WaitForUpdateMsg(int render_widget_id, 66 virtual bool WaitForUpdateMsg(int render_widget_id,
68 const base::TimeDelta& max_delay, 67 const base::TimeDelta& max_delay,
69 IPC::Message* msg); 68 IPC::Message* msg);
70 virtual void ReceivedBadMessage(uint32 msg_type); 69 virtual void ReceivedBadMessage(uint32 msg_type);
71 virtual void WidgetRestored(); 70 virtual void WidgetRestored();
72 virtual void WidgetHidden(); 71 virtual void WidgetHidden();
73 virtual void ViewCreated(); 72 virtual void ViewCreated();
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // Messages we queue while waiting for the process handle. We queue them here 205 // Messages we queue while waiting for the process handle. We queue them here
207 // instead of in the channel so that we ensure they're sent after init related 206 // instead of in the channel so that we ensure they're sent after init related
208 // messages that are sent once the process handle is available. This is 207 // messages that are sent once the process handle is available. This is
209 // because the queued messages may have dependencies on the init messages. 208 // because the queued messages may have dependencies on the init messages.
210 std::queue<IPC::Message*> queued_messages_; 209 std::queue<IPC::Message*> queued_messages_;
211 210
212 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 211 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
213 }; 212 };
214 213
215 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 214 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698