Index: chrome/browser/ui/webui/chrome_web_ui_factory.h |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_factory.h b/chrome/browser/ui/webui/chrome_web_ui_factory.h |
index 0457dde6153fa8e3b7d8c124023282bb0a1b9f9a..636487f8dc1d9095c1914f62ba672201e2c8ee89 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.h |
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.h |
@@ -20,12 +20,15 @@ class TabContents; |
class ChromeWebUIFactory : public content::WebUIFactory { |
public: |
- 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; |
+ 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; |
virtual WebUI* CreateWebUIForURL(TabContents* tab_contents, |
- const GURL& url) const; |
+ const GURL& url) const OVERRIDE; |
// Get the favicon for |page_url| and forward the result to the |request| |
// when loaded. |