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

Side by Side Diff: content/public/browser/render_process_host.h

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/process.h" 10 #include "base/process.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "ipc/ipc_channel_proxy.h" 13 #include "ipc/ipc_channel_proxy.h"
14 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_sender.h"
15 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/surface/transport_dib.h" 16 #include "ui/surface/transport_dib.h"
17 17
18 class GURL; 18 class GURL;
19 struct ViewMsg_SwapOut_Params; 19 struct ViewMsg_SwapOut_Params;
20 20
21 namespace content { 21 namespace content {
22 class BrowserContext; 22 class BrowserContext;
23 class RenderWidgetHost; 23 class RenderWidgetHost;
24 } 24 }
25 25
26 namespace base { 26 namespace base {
27 class TimeDelta; 27 class TimeDelta;
28 } 28 }
29 29
30 namespace content { 30 namespace content {
31 31
32 // Interface that represents the browser side of the browser <-> renderer 32 // Interface that represents the browser side of the browser <-> renderer
33 // communication channel. There will generally be one RenderProcessHost per 33 // communication channel. There will generally be one RenderProcessHost per
34 // renderer process. 34 // renderer process.
35 class CONTENT_EXPORT RenderProcessHost : public IPC::Message::Sender, 35 class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
36 public IPC::Channel::Listener { 36 public IPC::Listener {
37 public: 37 public:
38 typedef IDMap<RenderProcessHost>::iterator iterator; 38 typedef IDMap<RenderProcessHost>::iterator iterator;
39 typedef IDMap<RenderWidgetHost>::const_iterator RenderWidgetHostsIterator; 39 typedef IDMap<RenderWidgetHost>::const_iterator RenderWidgetHostsIterator;
40 40
41 // Details for RENDERER_PROCESS_CLOSED notifications. 41 // Details for RENDERER_PROCESS_CLOSED notifications.
42 struct RendererClosedDetails { 42 struct RendererClosedDetails {
43 RendererClosedDetails(base::ProcessHandle handle, 43 RendererClosedDetails(base::ProcessHandle handle,
44 base::TerminationStatus status, 44 base::TerminationStatus status,
45 int exit_code, 45 int exit_code,
46 bool was_alive) { 46 bool was_alive) {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 static void SetMaxRendererProcessCount(size_t count); 235 static void SetMaxRendererProcessCount(size_t count);
236 236
237 // Returns the current max number of renderer processes used by the content 237 // Returns the current max number of renderer processes used by the content
238 // module. 238 // module.
239 static size_t GetMaxRendererProcessCount(); 239 static size_t GetMaxRendererProcessCount();
240 }; 240 };
241 241
242 } // namespace content. 242 } // namespace content.
243 243
244 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 244 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | content/public/browser/render_view_host_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698