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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 "disable-webrtc-hw-decoding", | 505 "disable-webrtc-hw-decoding", |
506 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_NAME, | 506 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_NAME, |
507 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_DESCRIPTION, | 507 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_DESCRIPTION, |
508 kOsCrOS, | 508 kOsCrOS, |
509 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding) | 509 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding) |
510 }, | 510 }, |
511 { | 511 { |
512 "disable-webrtc-hw-encoding", | 512 "disable-webrtc-hw-encoding", |
513 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, | 513 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, |
514 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, | 514 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, |
515 kOsCrOS, | 515 kOsAndroid | kOsCrOS, |
516 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) | 516 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) |
517 }, | 517 }, |
518 #endif | 518 #endif |
519 #if defined(OS_ANDROID) | 519 #if defined(OS_ANDROID) |
520 { | 520 { |
521 "disable-webaudio", | 521 "disable-webaudio", |
522 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, | 522 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, |
523 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, | 523 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, |
524 kOsAndroid, | 524 kOsAndroid, |
525 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) | 525 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) |
(...skipping 1796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2322 } | 2322 } |
2323 | 2323 |
2324 const Experiment* GetExperiments(size_t* count) { | 2324 const Experiment* GetExperiments(size_t* count) { |
2325 *count = num_experiments; | 2325 *count = num_experiments; |
2326 return experiments; | 2326 return experiments; |
2327 } | 2327 } |
2328 | 2328 |
2329 } // namespace testing | 2329 } // namespace testing |
2330 | 2330 |
2331 } // namespace about_flags | 2331 } // namespace about_flags |
OLD | NEW |