Index: content/browser/content_browser_client.h |
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
index b4ff3953269850e660580c1b3e5412cc4da5281f..a7c1012636c7af827de7c9e0f8fd1f8d1c570932 100644 |
--- a/content/browser/content_browser_client.h |
+++ b/content/browser/content_browser_client.h |
@@ -22,7 +22,6 @@ class FilePath; |
class GURL; |
class MHTMLGenerationManager; |
class PluginProcessHost; |
-class Profile; |
class QuotaPermissionContext; |
class RenderViewHost; |
class ResourceDispatcherHost; |
@@ -53,6 +52,7 @@ class Clipboard; |
namespace content { |
+class BrowserContext; |
class ResourceContext; |
class WebUIFactory; |
@@ -90,11 +90,11 @@ class ContentBrowserClient { |
// Get the effective URL for the given actual URL, to allow an embedder to |
// group different url schemes in the same SiteInstance. |
- virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) = 0; |
+ virtual GURL GetEffectiveURL(BrowserContext* context, const GURL& url) = 0; |
jam
2011/07/22 16:58:38
nit: browser_context (all this file + mock + chrom
|
// Returns whether all instances of the specified effective URL should be |
// rendered by the same process, rather than using process-per-site-instance. |
- virtual bool ShouldUseProcessPerSite(Profile* profile, |
+ virtual bool ShouldUseProcessPerSite(BrowserContext* context, |
const GURL& effective_url) = 0; |
// Returns whether a specified URL is to be considered the same as any |
@@ -240,7 +240,8 @@ class ContentBrowserClient { |
virtual bool IsFastShutdownPossible() = 0; |
// Returns the WebKit preferences that are used by the renderer. |
- virtual WebPreferences GetWebkitPrefs(Profile* profile, bool is_web_ui) = 0; |
+ virtual WebPreferences GetWebkitPrefs(BrowserContext* context, |
+ bool is_web_ui) = 0; |
// Inspector setting was changed and should be persisted. |
virtual void UpdateInspectorSetting(RenderViewHost* rvh, |