| OLD | NEW |
| 1 // Copyright (c) 2009 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | |
| 11 | 10 |
| 12 #include "app/surface/transport_dib.h" | 11 #include "app/surface/transport_dib.h" |
| 13 #include "base/id_map.h" | 12 #include "base/id_map.h" |
| 14 #include "base/process.h" | 13 #include "base/process.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" |
| 19 | 18 |
| 20 class Profile; | 19 class Profile; |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 // Factory object for RenderProcessHosts. Using this factory allows tests to | 309 // Factory object for RenderProcessHosts. Using this factory allows tests to |
| 311 // swap out a different one to use a TestRenderProcessHost. | 310 // swap out a different one to use a TestRenderProcessHost. |
| 312 class RenderProcessHostFactory { | 311 class RenderProcessHostFactory { |
| 313 public: | 312 public: |
| 314 virtual ~RenderProcessHostFactory() {} | 313 virtual ~RenderProcessHostFactory() {} |
| 315 virtual RenderProcessHost* CreateRenderProcessHost( | 314 virtual RenderProcessHost* CreateRenderProcessHost( |
| 316 Profile* profile) const = 0; | 315 Profile* profile) const = 0; |
| 317 }; | 316 }; |
| 318 | 317 |
| 319 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ | 318 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |