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

Unified Diff: content/browser/webui/empty_web_ui_factory.cc

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: content/browser/webui/empty_web_ui_factory.cc
diff --git a/content/browser/webui/empty_web_ui_factory.cc b/content/browser/webui/empty_web_ui_factory.cc
index fd29847c7a73c8f0500e65a48f322b65293e8a10..04d72b80cb383428edd63a85254c6a0aa5dd528e 100644
--- a/content/browser/webui/empty_web_ui_factory.cc
+++ b/content/browser/webui/empty_web_ui_factory.cc
@@ -17,12 +17,12 @@ WebUI* EmptyWebUIFactory::CreateWebUIForURL(TabContents* source,
return NULL;
}
-WebUI::TypeID EmptyWebUIFactory::GetWebUIType(Profile* profile,
+WebUI::TypeID EmptyWebUIFactory::GetWebUIType(content::BrowserContext* context,
const GURL& url) const {
return WebUI::kNoWebUI;
}
-bool EmptyWebUIFactory::UseWebUIForURL(Profile* profile,
+bool EmptyWebUIFactory::UseWebUIForURL(content::BrowserContext* context,
const GURL& url) const {
return false;
}
@@ -31,8 +31,9 @@ bool EmptyWebUIFactory::HasWebUIScheme(const GURL& url) const {
return false;
}
-bool EmptyWebUIFactory::IsURLAcceptableForWebUI(Profile* profile,
- const GURL& url) const {
+bool EmptyWebUIFactory::IsURLAcceptableForWebUI(
+ content::BrowserContext* context,
+ const GURL& url) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698