OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "app/surface/transport_dib.h" | |
12 #include "base/id_map.h" | 11 #include "base/id_map.h" |
13 #include "base/process.h" | 12 #include "base/process.h" |
14 #include "base/process_util.h" | 13 #include "base/process_util.h" |
15 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
16 #include "base/time.h" | 15 #include "base/time.h" |
17 #include "chrome/common/visitedlink_common.h" | 16 #include "chrome/common/visitedlink_common.h" |
18 #include "ipc/ipc_sync_channel.h" | 17 #include "ipc/ipc_sync_channel.h" |
| 18 #include "ui/gfx/surface/transport_dib.h" |
19 | 19 |
20 class Profile; | 20 class Profile; |
21 class URLRequestContextGetter; | 21 class URLRequestContextGetter; |
22 struct ViewMsg_ClosePage_Params; | 22 struct ViewMsg_ClosePage_Params; |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class SharedMemory; | 25 class SharedMemory; |
26 } | 26 } |
27 | 27 |
28 // Virtual interface that represents the browser side of the browser <-> | 28 // Virtual interface that represents the browser side of the browser <-> |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 // Factory object for RenderProcessHosts. Using this factory allows tests to | 318 // Factory object for RenderProcessHosts. Using this factory allows tests to |
319 // swap out a different one to use a TestRenderProcessHost. | 319 // swap out a different one to use a TestRenderProcessHost. |
320 class RenderProcessHostFactory { | 320 class RenderProcessHostFactory { |
321 public: | 321 public: |
322 virtual ~RenderProcessHostFactory() {} | 322 virtual ~RenderProcessHostFactory() {} |
323 virtual RenderProcessHost* CreateRenderProcessHost( | 323 virtual RenderProcessHost* CreateRenderProcessHost( |
324 Profile* profile) const = 0; | 324 Profile* profile) const = 0; |
325 }; | 325 }; |
326 | 326 |
327 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ | 327 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ |
OLD | NEW |