Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2799883002: [Not Ready To Comimt] Add chrome://flags/#enable-off-main-thread-fetch
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698