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 <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, kOsMac | kOsWin | kOsLinux, | 692 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, kOsMac | kOsWin | kOsLinux, |
693 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)}, | 693 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)}, |
694 {"enable-quic", IDS_FLAGS_QUIC_NAME, IDS_FLAGS_QUIC_DESCRIPTION, kOsAll, | 694 {"enable-quic", IDS_FLAGS_QUIC_NAME, IDS_FLAGS_QUIC_DESCRIPTION, kOsAll, |
695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, switches::kDisableQuic)}, | 695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, switches::kDisableQuic)}, |
696 {"enable-alternative-services", IDS_FLAGS_ALTSVC_NAME, | 696 {"enable-alternative-services", IDS_FLAGS_ALTSVC_NAME, |
697 IDS_FLAGS_ALTSVC_DESCRIPTION, kOsAll, | 697 IDS_FLAGS_ALTSVC_DESCRIPTION, kOsAll, |
698 SINGLE_VALUE_TYPE(switches::kEnableAlternativeServices)}, | 698 SINGLE_VALUE_TYPE(switches::kEnableAlternativeServices)}, |
699 {"disable-media-source", IDS_FLAGS_MEDIA_SOURCE_NAME, | 699 {"disable-media-source", IDS_FLAGS_MEDIA_SOURCE_NAME, |
700 IDS_FLAGS_MEDIA_SOURCE_DESCRIPTION, kOsAll, | 700 IDS_FLAGS_MEDIA_SOURCE_DESCRIPTION, kOsAll, |
701 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableMediaSource)}, | 701 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableMediaSource)}, |
702 {"disable-encrypted-media", IDS_FLAGS_ENCRYPTED_MEDIA_NAME, | |
703 IDS_FLAGS_ENCRYPTED_MEDIA_DESCRIPTION, kOsAll, | |
704 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableEncryptedMedia)}, | |
705 {"enable-prefixed-encrypted-media", IDS_FLAGS_PREFIXED_ENCRYPTED_MEDIA_NAME, | |
706 IDS_FLAGS_PREFIXED_ENCRYPTED_MEDIA_DESCRIPTION, kOsAll, | |
707 SINGLE_VALUE_TYPE(switches::kEnablePrefixedEncryptedMedia)}, | |
708 {"disable-javascript-harmony-shipping", | 702 {"disable-javascript-harmony-shipping", |
709 IDS_FLAGS_JAVASCRIPT_HARMONY_SHIPPING_NAME, | 703 IDS_FLAGS_JAVASCRIPT_HARMONY_SHIPPING_NAME, |
710 IDS_FLAGS_JAVASCRIPT_HARMONY_SHIPPING_DESCRIPTION, kOsAll, | 704 IDS_FLAGS_JAVASCRIPT_HARMONY_SHIPPING_DESCRIPTION, kOsAll, |
711 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableJavaScriptHarmonyShipping)}, | 705 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableJavaScriptHarmonyShipping)}, |
712 {"enable-javascript-harmony", IDS_FLAGS_JAVASCRIPT_HARMONY_NAME, | 706 {"enable-javascript-harmony", IDS_FLAGS_JAVASCRIPT_HARMONY_NAME, |
713 IDS_FLAGS_JAVASCRIPT_HARMONY_DESCRIPTION, kOsAll, | 707 IDS_FLAGS_JAVASCRIPT_HARMONY_DESCRIPTION, kOsAll, |
714 SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)}, | 708 SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)}, |
715 {"disable-software-rasterizer", IDS_FLAGS_SOFTWARE_RASTERIZER_NAME, | 709 {"disable-software-rasterizer", IDS_FLAGS_SOFTWARE_RASTERIZER_NAME, |
716 IDS_FLAGS_SOFTWARE_RASTERIZER_DESCRIPTION, | 710 IDS_FLAGS_SOFTWARE_RASTERIZER_DESCRIPTION, |
717 #if defined(ENABLE_SWIFTSHADER) | 711 #if defined(ENABLE_SWIFTSHADER) |
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2025 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2032 | 2026 |
2033 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2027 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2034 *count = arraysize(kFeatureEntries); | 2028 *count = arraysize(kFeatureEntries); |
2035 return kFeatureEntries; | 2029 return kFeatureEntries; |
2036 } | 2030 } |
2037 | 2031 |
2038 } // namespace testing | 2032 } // namespace testing |
2039 | 2033 |
2040 } // namespace about_flags | 2034 } // namespace about_flags |
OLD | NEW |