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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 6713082: Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 9 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/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index f4f979a9d42360c5c89591c35c65c3205f373b39..7e3b6d239b5706830ea5c5b151870c5d85cce592 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -26,6 +26,7 @@
#include "chrome/browser/tab_contents/popup_menu_helper_mac.h"
#include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/webui/web_ui_factory.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/bindings_policy.h"
#include "chrome/common/extensions/extension.h"
@@ -41,7 +42,6 @@
#include "content/browser/site_instance.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/browser/tab_contents/tab_contents_view.h"
-#include "content/browser/webui/web_ui_factory.h"
#include "content/common/native_web_keyboard_event.h"
#include "content/common/notification_service.h"
#include "content/common/view_messages.h"
@@ -573,8 +573,8 @@ void ExtensionHost::CreateNewWindow(
route_id,
render_view_host()->process()->profile(),
site_instance(),
- WebUIFactory::GetWebUIType(render_view_host()->process()->profile(),
- url_),
+ WebUIFactory::GetInstance()->GetWebUIType(
+ render_view_host()->process()->profile(), url_),
this,
params.window_container_type,
params.frame_name);

Powered by Google App Engine
This is Rietveld 408576698