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 2651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2662 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, | 2662 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, |
2663 #endif // OS_ANDROID | 2663 #endif // OS_ANDROID |
2664 | 2664 |
2665 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, | 2665 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, |
2666 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, | 2666 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, |
2667 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2667 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2668 predictors::kSpeculativeResourcePrefetchingFeature, | 2668 predictors::kSpeculativeResourcePrefetchingFeature, |
2669 kSpeculativeResourcePrefetchingFeatureVariations, | 2669 kSpeculativeResourcePrefetchingFeatureVariations, |
2670 "SpeculativeResourcePrefetchingValidation")}, | 2670 "SpeculativeResourcePrefetchingValidation")}, |
2671 | 2671 |
| 2672 {"enable-off-main-thread-fetch", flag_descriptions::kOffMainThreadFetchName, |
| 2673 flag_descriptions::kOffMainThreadFetchDescription, kOsAll, |
| 2674 FEATURE_VALUE_TYPE(features::kOffMainThreadFetch)}, |
| 2675 |
2672 #if defined(OS_MACOSX) | 2676 #if defined(OS_MACOSX) |
2673 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, | 2677 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, |
2674 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, | 2678 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, |
2675 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, | 2679 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, |
2676 #endif | 2680 #endif |
2677 | 2681 |
2678 #if defined(OS_CHROMEOS) | 2682 #if defined(OS_CHROMEOS) |
2679 {"enable-chromevox-arc-support", | 2683 {"enable-chromevox-arc-support", |
2680 flag_descriptions::kEnableChromevoxArcSupportName, | 2684 flag_descriptions::kEnableChromevoxArcSupportName, |
2681 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, | 2685 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2956 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2960 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2957 | 2961 |
2958 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2962 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2959 *count = arraysize(kFeatureEntries); | 2963 *count = arraysize(kFeatureEntries); |
2960 return kFeatureEntries; | 2964 return kFeatureEntries; |
2961 } | 2965 } |
2962 | 2966 |
2963 } // namespace testing | 2967 } // namespace testing |
2964 | 2968 |
2965 } // namespace about_flags | 2969 } // namespace about_flags |
OLD | NEW |