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

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: Windows fix, take 2 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..96b0c006e5cae1be05f53bb399ad024a129cb917 100644
--- a/components/copresence/copresence_switches.cc
+++ b/components/copresence/copresence_switches.cc
@@ -4,8 +4,23 @@
#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.
+// If invalid (not a writable directory), Chrome will crash!
+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";
« no previous file with comments | « components/copresence/copresence_switches.h ('k') | components/copresence/mediums/audio/audio_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698