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

Unified Diff: chromecast/common/platform_client_auth_simple.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 | « chromecast/common/platform_client_auth.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/platform_client_auth_simple.cc
diff --git a/chromecast/browser/devtools/remote_debugging_server_simple.cc b/chromecast/common/platform_client_auth_simple.cc
similarity index 56%
copy from chromecast/browser/devtools/remote_debugging_server_simple.cc
copy to chromecast/common/platform_client_auth_simple.cc
index 3c5f5b760d0e2938d94b4eb21cfe90e47dce3ece..481b9a9ca5e0e0714a9b69f7b6f5592f32225ca1 100644
--- a/chromecast/browser/devtools/remote_debugging_server_simple.cc
+++ b/chromecast/common/platform_client_auth_simple.cc
@@ -2,14 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromecast/browser/devtools/remote_debugging_server.h"
+#include "chromecast/common/platform_client_auth.h"
namespace chromecast {
-namespace shell {
-bool RemoteDebuggingServer::ShouldStartImmediately() {
+// static
+bool PlatformClientAuth::initialized_ = false;
+
+// static
+bool PlatformClientAuth::Initialize() {
+ initialized_ = true;
return true;
}
-} // namespace shell
} // namespace chromecast
« no previous file with comments | « chromecast/common/platform_client_auth.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698