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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context Created 9 years, 5 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/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index b60848c107dc8a9aba8712c02b4fe9e039a0db5d..8afeba4e50a23a60f3e6b1dd88882a8a2ddcab7e 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -21,9 +21,10 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE;
virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
- virtual bool ShouldUseProcessPerSite(Profile* profile,
+ virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
const GURL& effective_url) OVERRIDE;
- virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) OVERRIDE;
+ virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
+ const GURL& url) OVERRIDE;
virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
virtual std::string GetCanonicalEncodingNameByAliasName(
const std::string& alias_name) OVERRIDE;
@@ -95,8 +96,9 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE;
virtual DevToolsManager* GetDevToolsManager() OVERRIDE;
virtual bool IsFastShutdownPossible() OVERRIDE;
- virtual WebPreferences GetWebkitPrefs(Profile* profile,
- bool is_web_ui) OVERRIDE;
+ virtual WebPreferences GetWebkitPrefs(
+ content::BrowserContext* browser_context,
+ bool is_web_ui) OVERRIDE;
virtual void UpdateInspectorSetting(RenderViewHost* rvh,
const std::string& key,
const std::string& value) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698