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

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: 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/webui/empty_web_ui_factory.h ('k') | content/browser/webui/web_ui_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4e4b8eb285e919c84314571b3db0ec8800d90453 100644
--- a/content/browser/webui/empty_web_ui_factory.cc
+++ b/content/browser/webui/empty_web_ui_factory.cc
@@ -17,13 +17,13 @@ WebUI* EmptyWebUIFactory::CreateWebUIForURL(TabContents* source,
return NULL;
}
-WebUI::TypeID EmptyWebUIFactory::GetWebUIType(Profile* profile,
- const GURL& url) const {
+WebUI::TypeID EmptyWebUIFactory::GetWebUIType(
+ content::BrowserContext* browser_context, const GURL& url) const {
return WebUI::kNoWebUI;
}
-bool EmptyWebUIFactory::UseWebUIForURL(Profile* profile,
- const GURL& url) const {
+bool EmptyWebUIFactory::UseWebUIForURL(
+ content::BrowserContext* browser_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* browser_context,
+ const GURL& url) const {
return false;
}
« no previous file with comments | « content/browser/webui/empty_web_ui_factory.h ('k') | content/browser/webui/web_ui_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698