Index: chromecast/browser/cast_browser_main_parts.cc |
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc |
index fd1c3efefdcf05f930ad288eb2f9150a509dd9b7..ecec130d6ff3102a3dea221db0a9c119891a274f 100644 |
--- a/chromecast/browser/cast_browser_main_parts.cc |
+++ b/chromecast/browser/cast_browser_main_parts.cc |
@@ -17,6 +17,7 @@ |
#include "chromecast/browser/url_request_context_factory.h" |
#include "chromecast/browser/webui/webui_cast.h" |
#include "chromecast/common/chromecast_config.h" |
+#include "chromecast/common/platform_client_auth.h" |
#include "chromecast/net/network_change_notifier_cast.h" |
#include "chromecast/net/network_change_notifier_factory_cast.h" |
#include "content/public/browser/browser_thread.h" |
@@ -126,6 +127,10 @@ void CastBrowserMainParts::PreMainMessageLoopRun() { |
new breakpad::CrashDumpManager(crash_dumps_dir)); |
#endif |
+ if (!PlatformClientAuth::Initialize()) { |
+ LOG(ERROR) << "PlatformClientAuth::Initialize failed."; |
+ } |
+ |
cast_browser_process_->SetRemoteDebuggingServer(new RemoteDebuggingServer()); |
InitializeWebUI(); |