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 c7f19028f08f1680d94aa50ea0e9adbb5f98b0d4..dcb1b21838bbdeed00b6033d22b3f7ba7a210326 100644 |
--- a/chromecast/shell/browser/cast_browser_main_parts.cc |
+++ b/chromecast/shell/browser/cast_browser_main_parts.cc |
@@ -17,6 +17,7 @@ |
#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" |
+#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_switches.h" |
#if defined(OS_ANDROID) |
@@ -93,6 +94,7 @@ void CastBrowserMainParts::PreMainMessageLoopRun() { |
new CastBrowserContext(url_request_context_factory_)); |
cast_browser_process_->SetMetricsServiceClient( |
metrics::CastMetricsServiceClient::Create( |
+ content::BrowserThread::GetBlockingPool(), |
ChromecastConfig::GetInstance()->pref_service(), |
cast_browser_process_->browser_context()->GetRequestContext())); |
cast_browser_process_->SetRemoteDebuggingServer(new RemoteDebuggingServer()); |