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

Side by Side Diff: content/public/browser/render_process_host_factory.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 9
10 namespace content { 10 namespace content {
11 class BrowserContext; 11 class BrowserContext;
12 class ContentBrowserClient;
13 class RenderProcessHost; 12 class RenderProcessHost;
14 class SiteInstance; 13 class SiteInstance;
15 14
16 // Factory object for RenderProcessHosts. Using this factory allows tests to 15 // Factory object for RenderProcessHosts. Using this factory allows tests to
17 // swap out a different one to use a TestRenderProcessHost. 16 // swap out a different one to use a TestRenderProcessHost.
18 class RenderProcessHostFactory { 17 class RenderProcessHostFactory {
19 public: 18 public:
20 virtual ~RenderProcessHostFactory() {} 19 virtual ~RenderProcessHostFactory() {}
21 virtual RenderProcessHost* CreateRenderProcessHost( 20 virtual RenderProcessHost* CreateRenderProcessHost(
22 BrowserContext* browser_context, 21 BrowserContext* browser_context,
23 SiteInstance* site_instance) const = 0; 22 SiteInstance* site_instance) const = 0;
24 }; 23 };
25 24
26 } // namespace content 25 } // namespace content
27 26
28 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_ 27 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_FACTORY_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698