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 2521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2532 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, | 2532 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, |
2533 #endif // OS_ANDROID | 2533 #endif // OS_ANDROID |
2534 | 2534 |
2535 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, | 2535 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, |
2536 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, | 2536 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, |
2537 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2537 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2538 predictors::kSpeculativeResourcePrefetchingFeature, | 2538 predictors::kSpeculativeResourcePrefetchingFeature, |
2539 kSpeculativeResourcePrefetchingFeatureVariations, | 2539 kSpeculativeResourcePrefetchingFeatureVariations, |
2540 "SpeculativeResourcePrefetchingValidation")}, | 2540 "SpeculativeResourcePrefetchingValidation")}, |
2541 | 2541 |
| 2542 {"enable-off-main-thread-fetch", flag_descriptions::kOffMainThreadFetchName, |
| 2543 flag_descriptions::kOffMainThreadFetchDescription, kOsAll, |
| 2544 FEATURE_VALUE_TYPE(features::kOffMainThreadFetch)}, |
| 2545 |
2542 #if defined(OS_MACOSX) | 2546 #if defined(OS_MACOSX) |
2543 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, | 2547 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, |
2544 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, | 2548 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, |
2545 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, | 2549 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, |
2546 #endif | 2550 #endif |
2547 | 2551 |
2548 #if defined(OS_CHROMEOS) | 2552 #if defined(OS_CHROMEOS) |
2549 {"enable-chromevox-arc-support", | 2553 {"enable-chromevox-arc-support", |
2550 flag_descriptions::kEnableChromevoxArcSupportName, | 2554 flag_descriptions::kEnableChromevoxArcSupportName, |
2551 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, | 2555 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2792 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2796 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2793 | 2797 |
2794 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2798 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2795 *count = arraysize(kFeatureEntries); | 2799 *count = arraysize(kFeatureEntries); |
2796 return kFeatureEntries; | 2800 return kFeatureEntries; |
2797 } | 2801 } |
2798 | 2802 |
2799 } // namespace testing | 2803 } // namespace testing |
2800 | 2804 |
2801 } // namespace about_flags | 2805 } // namespace about_flags |
OLD | NEW |