Index: chromecast/shell/browser/cast_browser_main_parts.cc |
diff --git a/chromecast/shell/browser/cast_browser_main_parts.cc b/chromecast/shell/browser/cast_browser_main_parts.cc |
index d1a82c2625c59e982eca69a539430a5a904cd942..d5e24d7e23dcf71db716c97ac8e221b3a6b2b292 100644 |
--- a/chromecast/shell/browser/cast_browser_main_parts.cc |
+++ b/chromecast/shell/browser/cast_browser_main_parts.cc |
@@ -13,6 +13,7 @@ |
#include "chromecast/shell/browser/cast_browser_context.h" |
#include "chromecast/shell/browser/devtools/remote_debugging_server.h" |
#include "chromecast/shell/browser/url_request_context_factory.h" |
+#include "chromecast/shell/browser/webui/webui_cast.h" |
namespace chromecast { |
namespace shell { |
@@ -75,6 +76,8 @@ void CastBrowserMainParts::PreMainMessageLoopRun() { |
browser_context_.reset(new CastBrowserContext(url_request_context_factory_)); |
dev_tools_.reset(new RemoteDebuggingServer()); |
+ InitializeWebUI(); |
+ |
cast_service_.reset(CastService::Create(browser_context_.get())); |
cast_service_->Start(); |
} |