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

Unified Diff: content/browser/mock_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: slight tweaking for comments 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
« no previous file with comments | « content/browser/javascript_dialogs.h ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mock_content_browser_client.h
diff --git a/content/browser/mock_content_browser_client.h b/content/browser/mock_content_browser_client.h
index 157f9d33791432299870b1c2d19a908485fe0d88..121c076a8a018b0b47381ac6a6e4bc59e292e1be 100644
--- a/content/browser/mock_content_browser_client.h
+++ b/content/browser/mock_content_browser_client.h
@@ -23,7 +23,8 @@ class MockContentBrowserClient : public ContentBrowserClient {
virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE;
virtual WebUIFactory* GetWebUIFactory() 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;
@@ -96,8 +97,9 @@ class MockContentBrowserClient : public ContentBrowserClient {
virtual DevToolsManager* GetDevToolsManager() OVERRIDE;
virtual net::NetLog* GetNetLog() 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;
« no previous file with comments | « content/browser/javascript_dialogs.h ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698