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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.h

Issue 9288074: Rename WebUIFactory to WebUIControllerFactory since that's what it creates now. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: blah Created 8 years, 11 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: chrome/browser/ui/webui/chrome_web_ui_controller_factory.h
===================================================================
--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.h (revision 119190)
+++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.h (working copy)
@@ -9,13 +9,13 @@
#include "base/basictypes.h"
#include "base/memory/singleton.h"
#include "content/public/browser/web_ui.h"
-#include "content/public/browser/web_ui_factory.h"
+#include "content/public/browser/web_ui_controller_factory.h"
#include "chrome/browser/favicon/favicon_service.h"
class Profile;
class RefCountedMemory;
-class ChromeWebUIFactory : public content::WebUIFactory {
+class ChromeWebUIControllerFactory : public content::WebUIControllerFactory {
public:
virtual content::WebUI::TypeID GetWebUIType(
content::BrowserContext* browser_context,
@@ -27,7 +27,7 @@
virtual bool HasWebUIScheme(const GURL& url) const OVERRIDE;
virtual bool IsURLAcceptableForWebUI(content::BrowserContext* browser_context,
const GURL& url) const OVERRIDE;
- virtual content::WebUIController* CreateWebUIForURL(
+ virtual content::WebUIController* CreateWebUIControllerForURL(
content::WebUI* web_ui,
const GURL& url) const OVERRIDE;
@@ -37,21 +37,21 @@
FaviconService::GetFaviconRequest* request,
const GURL& page_url) const;
- static ChromeWebUIFactory* GetInstance();
+ static ChromeWebUIControllerFactory* GetInstance();
protected:
- ChromeWebUIFactory();
- virtual ~ChromeWebUIFactory();
+ ChromeWebUIControllerFactory();
+ virtual ~ChromeWebUIControllerFactory();
private:
- friend struct DefaultSingletonTraits<ChromeWebUIFactory>;
+ friend struct DefaultSingletonTraits<ChromeWebUIControllerFactory>;
// Gets the data for the favicon for a WebUI page. Returns NULL if the WebUI
// does not have a favicon.
RefCountedMemory* GetFaviconResourceBytes(const GURL& page_url) const;
- DISALLOW_COPY_AND_ASSIGN(ChromeWebUIFactory);
+ DISALLOW_COPY_AND_ASSIGN(ChromeWebUIControllerFactory);
};
#endif // CHROME_BROWSER_UI_WEBUI_CHROME_WEB_UI_FACTORY_H_
« no previous file with comments | « chrome/browser/tab_contents/tab_util.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698