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

Unified Diff: content/browser/webui/empty_web_ui_factory.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
Index: content/browser/webui/empty_web_ui_factory.h
diff --git a/content/browser/webui/empty_web_ui_factory.h b/content/browser/webui/empty_web_ui_factory.h
index 6ca8fca56beaf1e820ebb685c9cd66a8e252e222..ce5c0d1822ee91f27608577daecba2d57a0f715e 100644
--- a/content/browser/webui/empty_web_ui_factory.h
+++ b/content/browser/webui/empty_web_ui_factory.h
@@ -17,13 +17,14 @@ class EmptyWebUIFactory : public content::WebUIFactory {
static EmptyWebUIFactory* GetInstance();
virtual WebUI* CreateWebUIForURL(TabContents* source,
- const GURL& url) const;
- virtual WebUI::TypeID GetWebUIType(Profile* profile,
- const GURL& url) const;
- virtual bool UseWebUIForURL(Profile* profile, const GURL& url) const;
- virtual bool HasWebUIScheme(const GURL& url) const;
- virtual bool IsURLAcceptableForWebUI(Profile* profile,
- const GURL& url) const;
+ const GURL& url) const OVERRIDE;
+ virtual WebUI::TypeID GetWebUIType(content::BrowserContext* browser_context,
+ const GURL& url) const OVERRIDE;
+ virtual bool UseWebUIForURL(content::BrowserContext* browser_context,
+ const GURL& url) const OVERRIDE;
+ virtual bool HasWebUIScheme(const GURL& url) const OVERRIDE;
+ virtual bool IsURLAcceptableForWebUI(content::BrowserContext* browser_context,
+ const GURL& url) const OVERRIDE;
protected:
EmptyWebUIFactory();
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.cc ('k') | content/browser/webui/empty_web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698