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

Unified Diff: components/copresence/copresence_switches.cc

Issue 892423002: Adding some audio debugging flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
index f7a3bc7af4f052d78775071a6ed3e7801f4749a1..8a4920ab25e5173d62ce580f72eeaa63b44c0bdc 100644
--- a/components/copresence/copresence_switches.cc
+++ b/components/copresence/copresence_switches.cc
@@ -4,8 +4,22 @@
#include "components/copresence/copresence_switches.h"
+// TODO(ckehoe): Move these flags to the chrome://copresence page.
+
namespace switches {
+// Directory to dump encoded tokens to, for debugging.
+// If empty (the default), tokens are not dumped.
+const char kCopresenceDumpTokensToDir[] = "copresence-dump-tokens-to-dir";
+
+// Allow broadcast of audible audio tokens. Defaults to true.
+const char kCopresenceEnableAudibleBroadcast[] =
+ "copresence-enable-audible-broadcast";
+
+// Allow broadcast of inaudible audio tokens. Defaults to true.
+const char kCopresenceEnableInaudibleBroadcast[] =
+ "copresence-enable-inaudible-broadcast";
+
// Address for calls to the Copresence server (via Apiary).
// Defaults to https://www.googleapis.com/copresence/v2/copresence.
const char kCopresenceServer[] = "copresence-server";

Powered by Google App Engine
This is Rietveld 408576698