| OLD | NEW |
| 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/process.h" | 12 #include "base/process.h" |
| 12 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 13 #include "chrome/common/id_map.h" | |
| 14 #include "chrome/common/transport_dib.h" | 14 #include "chrome/common/transport_dib.h" |
| 15 #include "chrome/common/visitedlink_common.h" | 15 #include "chrome/common/visitedlink_common.h" |
| 16 #include "ipc/ipc_sync_channel.h" | 16 #include "ipc/ipc_sync_channel.h" |
| 17 | 17 |
| 18 class Profile; | 18 class Profile; |
| 19 struct ViewMsg_ClosePage_Params; | 19 struct ViewMsg_ClosePage_Params; |
| 20 | 20 |
| 21 // Virtual interface that represents the browser side of the browser <-> | 21 // Virtual interface that represents the browser side of the browser <-> |
| 22 // renderer communication channel. There will generally be one | 22 // renderer communication channel. There will generally be one |
| 23 // RenderProcessHost per renderer process. | 23 // RenderProcessHost per renderer process. |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // Factory object for RenderProcessHosts. Using this factory allows tests to | 259 // Factory object for RenderProcessHosts. Using this factory allows tests to |
| 260 // swap out a different one to use a TestRenderProcessHost. | 260 // swap out a different one to use a TestRenderProcessHost. |
| 261 class RenderProcessHostFactory { | 261 class RenderProcessHostFactory { |
| 262 public: | 262 public: |
| 263 virtual ~RenderProcessHostFactory() {} | 263 virtual ~RenderProcessHostFactory() {} |
| 264 virtual RenderProcessHost* CreateRenderProcessHost( | 264 virtual RenderProcessHost* CreateRenderProcessHost( |
| 265 Profile* profile) const = 0; | 265 Profile* profile) const = 0; |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ | 268 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |