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. |
| 8 |
7 namespace switches { | 9 namespace switches { |
8 | 10 |
| 11 // Directory to dump encoded tokens to, for debugging. |
| 12 // If empty (the default), tokens are not dumped. |
| 13 const char kCopresenceDumpTokensToDir[] = "copresence-dump-tokens-to-dir"; |
| 14 |
| 15 // Allow broadcast of audible audio tokens. Defaults to true. |
| 16 const char kCopresenceEnableAudibleBroadcast[] = |
| 17 "copresence-enable-audible-broadcast"; |
| 18 |
| 19 // Allow broadcast of inaudible audio tokens. Defaults to true. |
| 20 const char kCopresenceEnableInaudibleBroadcast[] = |
| 21 "copresence-enable-inaudible-broadcast"; |
| 22 |
9 // Address for calls to the Copresence server (via Apiary). | 23 // Address for calls to the Copresence server (via Apiary). |
10 // Defaults to https://www.googleapis.com/copresence/v2/copresence. | 24 // Defaults to https://www.googleapis.com/copresence/v2/copresence. |
11 const char kCopresenceServer[] = "copresence-server"; | 25 const char kCopresenceServer[] = "copresence-server"; |
12 | 26 |
13 // Apiary tracing token for calls to the Copresence server. | 27 // Apiary tracing token for calls to the Copresence server. |
14 const char kCopresenceTracingToken[] = "copresence-tracing-token"; | 28 const char kCopresenceTracingToken[] = "copresence-tracing-token"; |
15 | 29 |
16 } // namespace switches | 30 } // namespace switches |
OLD | NEW |