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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 "disable-webrtc-hw-decoding", | 515 "disable-webrtc-hw-decoding", |
516 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_NAME, | 516 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_NAME, |
517 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_DESCRIPTION, | 517 IDS_FLAGS_DISABLE_WEBRTC_HW_DECODING_DESCRIPTION, |
518 kOsCrOS, | 518 kOsCrOS, |
519 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding) | 519 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding) |
520 }, | 520 }, |
521 { | 521 { |
522 "disable-webrtc-hw-encoding", | 522 "disable-webrtc-hw-encoding", |
523 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, | 523 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_NAME, |
524 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, | 524 IDS_FLAGS_DISABLE_WEBRTC_HW_ENCODING_DESCRIPTION, |
525 kOsCrOS, | 525 kOsAndroid | kOsCrOS, |
526 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) | 526 SINGLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding) |
527 }, | 527 }, |
528 #endif | 528 #endif |
529 #if defined(OS_ANDROID) | 529 #if defined(OS_ANDROID) |
530 { | 530 { |
531 "disable-webaudio", | 531 "disable-webaudio", |
532 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, | 532 IDS_FLAGS_DISABLE_WEBAUDIO_NAME, |
533 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, | 533 IDS_FLAGS_DISABLE_WEBAUDIO_DESCRIPTION, |
534 kOsAndroid, | 534 kOsAndroid, |
535 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) | 535 SINGLE_VALUE_TYPE(switches::kDisableWebAudio) |
(...skipping 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2344 } | 2344 } |
2345 | 2345 |
2346 const Experiment* GetExperiments(size_t* count) { | 2346 const Experiment* GetExperiments(size_t* count) { |
2347 *count = num_experiments; | 2347 *count = num_experiments; |
2348 return experiments; | 2348 return experiments; |
2349 } | 2349 } |
2350 | 2350 |
2351 } // namespace testing | 2351 } // namespace testing |
2352 | 2352 |
2353 } // namespace about_flags | 2353 } // namespace about_flags |
OLD | NEW |