OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, | 439 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, |
440 kOsAndroid, | 440 kOsAndroid, |
441 #if defined(OS_ANDROID) | 441 #if defined(OS_ANDROID) |
442 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) | 442 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) |
443 #else | 443 #else |
444 SINGLE_VALUE_TYPE("") | 444 SINGLE_VALUE_TYPE("") |
445 #endif | 445 #endif |
446 }, | 446 }, |
447 #if defined(ENABLE_WEBRTC) | 447 #if defined(ENABLE_WEBRTC) |
448 { | 448 { |
449 "enable-sctp-data-channels", | 449 "disable-sctp-data-channels", |
450 IDS_FLAGS_ENABLE_SCTP_DATA_CHANNELS_NAME, | 450 IDS_FLAGS_DISABLE_SCTP_DATA_CHANNELS_NAME, |
451 IDS_FLAGS_ENABLE_SCTP_DATA_CHANNELS_DESCRIPTION, | 451 IDS_FLAGS_DISABLE_SCTP_DATA_CHANNELS_DESCRIPTION, |
452 kOsAll, | 452 kOsAll, |
453 SINGLE_VALUE_TYPE(switches::kEnableSCTPDataChannels) | 453 SINGLE_VALUE_TYPE(switches::kDisableSCTPDataChannels) |
454 }, | 454 }, |
455 { | 455 { |
456 "disable-device-enumeration", | 456 "disable-device-enumeration", |
457 IDS_FLAGS_DISABLE_DEVICE_ENUMERATION_NAME, | 457 IDS_FLAGS_DISABLE_DEVICE_ENUMERATION_NAME, |
458 IDS_FLAGS_DISABLE_DEVICE_ENUMERATION_DESCRIPTION, | 458 IDS_FLAGS_DISABLE_DEVICE_ENUMERATION_DESCRIPTION, |
459 kOsAll, | 459 kOsAll, |
460 SINGLE_VALUE_TYPE(switches::kDisableDeviceEnumeration) | 460 SINGLE_VALUE_TYPE(switches::kDisableDeviceEnumeration) |
461 }, | 461 }, |
462 #endif | 462 #endif |
463 #if defined(OS_ANDROID) | 463 #if defined(OS_ANDROID) |
(...skipping 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2132 } | 2132 } |
2133 | 2133 |
2134 const Experiment* GetExperiments(size_t* count) { | 2134 const Experiment* GetExperiments(size_t* count) { |
2135 *count = num_experiments; | 2135 *count = num_experiments; |
2136 return experiments; | 2136 return experiments; |
2137 } | 2137 } |
2138 | 2138 |
2139 } // namespace testing | 2139 } // namespace testing |
2140 | 2140 |
2141 } // namespace about_flags | 2141 } // namespace about_flags |
OLD | NEW |