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

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

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/id_map.h" 11 #include "base/id_map.h"
12 #include "base/process.h" 12 #include "base/process.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "chrome/common/ipc_sync_channel.h"
15 #include "chrome/common/transport_dib.h" 14 #include "chrome/common/transport_dib.h"
16 #include "chrome/common/visitedlink_common.h" 15 #include "chrome/common/visitedlink_common.h"
16 #include "ipc/ipc_sync_channel.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 // Virtual interface that represents the browser side of the browser <-> 20 // Virtual interface that represents the browser side of the browser <->
21 // renderer communication channel. There will generally be one 21 // renderer communication channel. There will generally be one
22 // RenderProcessHost per renderer process. 22 // RenderProcessHost per renderer process.
23 // 23 //
24 // The concrete implementation of this class for normal use is the 24 // The concrete implementation of this class for normal use is the
25 // BrowserRenderProcessHost. It may also be implemented by a testing interface 25 // BrowserRenderProcessHost. It may also be implemented by a testing interface
26 // for mocking purposes. 26 // for mocking purposes.
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // Factory object for RenderProcessHosts. Using this factory allows tests to 250 // Factory object for RenderProcessHosts. Using this factory allows tests to
251 // swap out a different one to use a TestRenderProcessHost. 251 // swap out a different one to use a TestRenderProcessHost.
252 class RenderProcessHostFactory { 252 class RenderProcessHostFactory {
253 public: 253 public:
254 virtual ~RenderProcessHostFactory() {} 254 virtual ~RenderProcessHostFactory() {}
255 virtual RenderProcessHost* CreateRenderProcessHost( 255 virtual RenderProcessHost* CreateRenderProcessHost(
256 Profile* profile) const = 0; 256 Profile* profile) const = 0;
257 }; 257 };
258 258
259 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ 259 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698