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 2636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2647 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, | 2647 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, |
2648 #endif // OS_ANDROID | 2648 #endif // OS_ANDROID |
2649 | 2649 |
2650 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, | 2650 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, |
2651 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, | 2651 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, |
2652 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2652 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2653 predictors::kSpeculativeResourcePrefetchingFeature, | 2653 predictors::kSpeculativeResourcePrefetchingFeature, |
2654 kSpeculativeResourcePrefetchingFeatureVariations, | 2654 kSpeculativeResourcePrefetchingFeatureVariations, |
2655 "SpeculativeResourcePrefetchingValidation")}, | 2655 "SpeculativeResourcePrefetchingValidation")}, |
2656 | 2656 |
| 2657 {"enable-off-main-thread-fetch", flag_descriptions::kOffMainThreadFetchName, |
| 2658 flag_descriptions::kOffMainThreadFetchDescription, kOsAll, |
| 2659 FEATURE_VALUE_TYPE(features::kOffMainThreadFetch)}, |
| 2660 |
2657 #if defined(OS_MACOSX) | 2661 #if defined(OS_MACOSX) |
2658 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, | 2662 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, |
2659 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, | 2663 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, |
2660 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, | 2664 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, |
2661 #endif | 2665 #endif |
2662 | 2666 |
2663 #if defined(OS_CHROMEOS) | 2667 #if defined(OS_CHROMEOS) |
2664 {"enable-chromevox-arc-support", | 2668 {"enable-chromevox-arc-support", |
2665 flag_descriptions::kEnableChromevoxArcSupportName, | 2669 flag_descriptions::kEnableChromevoxArcSupportName, |
2666 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, | 2670 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2983 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2987 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2984 | 2988 |
2985 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2989 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2986 *count = arraysize(kFeatureEntries); | 2990 *count = arraysize(kFeatureEntries); |
2987 return kFeatureEntries; | 2991 return kFeatureEntries; |
2988 } | 2992 } |
2989 | 2993 |
2990 } // namespace testing | 2994 } // namespace testing |
2991 | 2995 |
2992 } // namespace about_flags | 2996 } // namespace about_flags |
OLD | NEW |