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

Unified Diff: chrome/browser/extensions/extension_process_manager.h

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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: chrome/browser/extensions/extension_process_manager.h
===================================================================
--- chrome/browser/extensions/extension_process_manager.h (revision 118952)
+++ chrome/browser/extensions/extension_process_manager.h (working copy)
@@ -22,7 +22,10 @@
class GURL;
class Profile;
class RenderViewHost;
+
+namespace content {
class SiteInstance;
+};
// Manages dynamic state of running Chromium extensions. There is one instance
// of this class per Profile. OTR Profiles have a separate instance that keeps
@@ -69,7 +72,7 @@
// Returns the SiteInstance that the given URL belongs to.
// TODO(aa): This only returns correct results for extensions and packaged
// apps, not hosted apps.
- virtual SiteInstance* GetSiteInstanceForURL(const GURL& url);
+ virtual content::SiteInstance* GetSiteInstanceForURL(const GURL& url);
// Registers a RenderViewHost as hosting a given extension.
void RegisterRenderViewHost(RenderViewHost* render_view_host,
@@ -124,7 +127,7 @@
// A SiteInstance related to the SiteInstance for all extensions in
// this profile. We create it in such a way that a new
// browsing instance is created. This controls process grouping.
- scoped_refptr<SiteInstance> site_instance_;
+ scoped_refptr<content::SiteInstance> site_instance_;
private:
// Contains all extension-related RenderViewHost instances for all extensions.
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698