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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/extensions/extension_debugger_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 119190)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -53,7 +53,7 @@
#include "chrome/browser/tab_contents/tab_contents_ssl_helper.h"
#include "chrome/browser/tab_contents/tab_util.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
-#include "chrome/browser/ui/webui/chrome_web_ui_factory.h"
+#include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
#include "chrome/browser/user_style_sheet_watcher.h"
#include "chrome/common/child_process_logging.h"
#include "chrome/common/chrome_constants.h"
@@ -140,7 +140,8 @@
// Handles rewriting Web UI URLs.
bool HandleWebUI(GURL* url, content::BrowserContext* browser_context) {
- if (!ChromeWebUIFactory::GetInstance()->UseWebUIForURL(browser_context, *url))
+ if (!ChromeWebUIControllerFactory::GetInstance()->UseWebUIForURL(
+ browser_context, *url))
return false;
// Special case the new tab page. In older versions of Chrome, the new tab
@@ -358,8 +359,9 @@
host->Send(new ChromeViewMsg_SetContentSettingRules(rules));
}
-content::WebUIFactory* ChromeContentBrowserClient::GetWebUIFactory() {
- return ChromeWebUIFactory::GetInstance();
+content::WebUIControllerFactory*
+ ChromeContentBrowserClient::GetWebUIControllerFactory() {
+ return ChromeWebUIControllerFactory::GetInstance();
}
GURL ChromeContentBrowserClient::GetEffectiveURL(
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/extensions/extension_debugger_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698