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

Unified Diff: components/copresence/copresence_switches.cc

Issue 433283002: Adding the Copresence RpcHandler and HttpPost helper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@directive-handler
Patch Set: Addressing nits Created 6 years, 4 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
Index: components/copresence/copresence_switches.cc
diff --git a/components/copresence/copresence_switches.cc b/components/copresence/copresence_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f7a3bc7af4f052d78775071a6ed3e7801f4749a1
--- /dev/null
+++ b/components/copresence/copresence_switches.cc
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/copresence/copresence_switches.h"
+
+namespace switches {
+
+// Address for calls to the Copresence server (via Apiary).
+// Defaults to https://www.googleapis.com/copresence/v2/copresence.
+const char kCopresenceServer[] = "copresence-server";
+
+// Apiary tracing token for calls to the Copresence server.
+const char kCopresenceTracingToken[] = "copresence-tracing-token";
+
+} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698