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

Unified Diff: content/browser/renderer_host/render_view_host_factory.h

Issue 11343017: Move remaining files in content\browser\renderer_host to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_factory.h
===================================================================
--- content/browser/renderer_host/render_view_host_factory.h (revision 164665)
+++ content/browser/renderer_host/render_view_host_factory.h (working copy)
@@ -14,7 +14,6 @@
class RenderWidgetHostDelegate;
class SessionStorageNamespace;
class SiteInstance;
-}
// A factory for creating RenderViewHosts. There is a global factory function
// that can be installed for the purposes of testing to provide a specialized
@@ -24,13 +23,13 @@
// Creates a RenderViewHost using the currently registered factory, or the
// default one if no factory is registered. Ownership of the returned
// pointer will be passed to the caller.
- static content::RenderViewHost* Create(
- content::SiteInstance* instance,
- content::RenderViewHostDelegate* delegate,
- content::RenderWidgetHostDelegate* widget_delegate,
+ static RenderViewHost* Create(
+ SiteInstance* instance,
+ RenderViewHostDelegate* delegate,
+ RenderWidgetHostDelegate* widget_delegate,
int routing_id,
bool swapped_out,
- content::SessionStorageNamespace* session_storage);
+ SessionStorageNamespace* session_storage);
// Returns true if there is currently a globally-registered factory.
static bool has_factory() {
@@ -43,13 +42,13 @@
// You can derive from this class and specify an implementation for this
// function to create a different kind of RenderViewHost for testing.
- virtual content::RenderViewHost* CreateRenderViewHost(
- content::SiteInstance* instance,
- content::RenderViewHostDelegate* delegate,
- content::RenderWidgetHostDelegate* widget_delegate,
+ virtual RenderViewHost* CreateRenderViewHost(
+ SiteInstance* instance,
+ RenderViewHostDelegate* delegate,
+ RenderWidgetHostDelegate* widget_delegate,
int routing_id,
bool swapped_out,
- content::SessionStorageNamespace* session_storage_namespace) = 0;
+ SessionStorageNamespace* session_storage_namespace) = 0;
// Registers your factory to be called when new RenderViewHosts are created.
// We have only one global factory, so there must be no factory registered
@@ -68,5 +67,6 @@
DISALLOW_COPY_AND_ASSIGN(RenderViewHostFactory);
};
+} // namespace content
#endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698