| Index: chrome/browser/renderer_host/render_process_host.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_process_host.h (revision 8331)
|
| +++ chrome/browser/renderer_host/render_process_host.h (working copy)
|
| @@ -200,4 +200,13 @@
|
| DISALLOW_COPY_AND_ASSIGN(RenderProcessHost);
|
| };
|
|
|
| +// Factory object for RenderProcessHosts. Using this factory allows tests to
|
| +// swap out a different one to use a TestRenderProcessHost.
|
| +class RenderProcessHostFactory {
|
| + public:
|
| + virtual ~RenderProcessHostFactory() {}
|
| + virtual RenderProcessHost* CreateRenderProcessHost(
|
| + Profile* profile) const = 0;
|
| +};
|
| +
|
| #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_H_
|
|
|