| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/copresence/copresence_switches.h" | 5 #include "components/copresence/copresence_switches.h" |
| 6 | 6 |
| 7 // TODO(ckehoe): Move these flags to the chrome://copresence page. | 7 // TODO(ckehoe): Move these flags to the chrome://copresence page. |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| 11 // Directory to dump encoded tokens to, for debugging. | |
| 12 // If empty (the default), tokens are not dumped. | |
| 13 // If invalid (not a writable directory), Chrome will crash! | |
| 14 const char kCopresenceDumpTokensToDir[] = "copresence-dump-tokens-to-dir"; | |
| 15 | |
| 16 // Allow broadcast of audible audio tokens. Defaults to true. | |
| 17 const char kCopresenceEnableAudibleBroadcast[] = | |
| 18 "copresence-enable-audible-broadcast"; | |
| 19 | |
| 20 // Allow broadcast of inaudible audio tokens. Defaults to true. | |
| 21 const char kCopresenceEnableInaudibleBroadcast[] = | |
| 22 "copresence-enable-inaudible-broadcast"; | |
| 23 | |
| 24 // Address for calls to the Copresence server (via Apiary). | 11 // Address for calls to the Copresence server (via Apiary). |
| 25 // Defaults to https://www.googleapis.com/copresence/v2/copresence. | 12 // Defaults to https://www.googleapis.com/copresence/v2/copresence. |
| 26 const char kCopresenceServer[] = "copresence-server"; | 13 const char kCopresenceServer[] = "copresence-server"; |
| 27 | 14 |
| 28 // Apiary tracing token for calls to the Copresence server. | 15 // Apiary tracing token for calls to the Copresence server. |
| 29 const char kCopresenceTracingToken[] = "copresence-tracing-token"; | 16 const char kCopresenceTracingToken[] = "copresence-tracing-token"; |
| 30 | 17 |
| 31 } // namespace switches | 18 } // namespace switches |
| OLD | NEW |