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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 687723002: Chromecast: adds platform hooks for initializing client-auth support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes unittest support file. Created 6 years, 2 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 | « no previous file | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698