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

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

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix 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 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after
2543 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)}, 2543 FEATURE_VALUE_TYPE(chrome::android::kCustomFeedbackUi)},
2544 #endif // OS_ANDROID 2544 #endif // OS_ANDROID
2545 2545
2546 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName, 2546 {"enable-resource-prefetch", flag_descriptions::kSpeculativePrefetchName,
2547 flag_descriptions::kSpeculativePrefetchDescription, kOsAll, 2547 flag_descriptions::kSpeculativePrefetchDescription, kOsAll,
2548 FEATURE_WITH_PARAMS_VALUE_TYPE( 2548 FEATURE_WITH_PARAMS_VALUE_TYPE(
2549 predictors::kSpeculativeResourcePrefetchingFeature, 2549 predictors::kSpeculativeResourcePrefetchingFeature,
2550 kSpeculativeResourcePrefetchingFeatureVariations, 2550 kSpeculativeResourcePrefetchingFeatureVariations,
2551 "SpeculativeResourcePrefetchingValidation")}, 2551 "SpeculativeResourcePrefetchingValidation")},
2552 2552
2553 {"enable-off-main-thread-fetch", flag_descriptions::kOffMainThreadFetchName,
2554 flag_descriptions::kOffMainThreadFetchDescription, kOsAll,
2555 FEATURE_VALUE_TYPE(features::kOffMainThreadFetch)},
2556
2553 #if defined(OS_MACOSX) 2557 #if defined(OS_MACOSX)
2554 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName, 2558 {"tab-strip-keyboard-focus", flag_descriptions::kTabStripKeyboardFocusName,
2555 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac, 2559 flag_descriptions::kTabStripKeyboardFocusDescription, kOsMac,
2556 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)}, 2560 FEATURE_VALUE_TYPE(features::kTabStripKeyboardFocus)},
2557 #endif 2561 #endif
2558 2562
2559 #if defined(OS_CHROMEOS) 2563 #if defined(OS_CHROMEOS)
2560 {"enable-chromevox-arc-support", 2564 {"enable-chromevox-arc-support",
2561 flag_descriptions::kEnableChromevoxArcSupportName, 2565 flag_descriptions::kEnableChromevoxArcSupportName,
2562 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS, 2566 flag_descriptions::kEnableChromevoxArcSupportDescription, kOsCrOS,
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
2810 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2814 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2811 2815
2812 const FeatureEntry* GetFeatureEntries(size_t* count) { 2816 const FeatureEntry* GetFeatureEntries(size_t* count) {
2813 *count = arraysize(kFeatureEntries); 2817 *count = arraysize(kFeatureEntries);
2814 return kFeatureEntries; 2818 return kFeatureEntries;
2815 } 2819 }
2816 2820
2817 } // namespace testing 2821 } // namespace testing
2818 2822
2819 } // namespace about_flags 2823 } // 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