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

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

Issue 2764683002: Remove stale-while-revalidate from content and chrome (Closed)
Patch Set: rebase Created 3 years, 9 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 | « chrome/app/generated_resources.grd ('k') | content/browser/BUILD.gn » ('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 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 {"touch-selection-strategy", IDS_FLAGS_TOUCH_SELECTION_STRATEGY_NAME, 1190 {"touch-selection-strategy", IDS_FLAGS_TOUCH_SELECTION_STRATEGY_NAME,
1191 IDS_FLAGS_TOUCH_SELECTION_STRATEGY_DESCRIPTION, 1191 IDS_FLAGS_TOUCH_SELECTION_STRATEGY_DESCRIPTION,
1192 kOsAndroid, // TODO(mfomitchev): Add CrOS/Win/Linux support soon. 1192 kOsAndroid, // TODO(mfomitchev): Add CrOS/Win/Linux support soon.
1193 MULTI_VALUE_TYPE(kTouchTextSelectionStrategyChoices)}, 1193 MULTI_VALUE_TYPE(kTouchTextSelectionStrategyChoices)},
1194 {"enable-navigation-tracing", IDS_FLAGS_ENABLE_NAVIGATION_TRACING, 1194 {"enable-navigation-tracing", IDS_FLAGS_ENABLE_NAVIGATION_TRACING,
1195 IDS_FLAGS_ENABLE_NAVIGATION_TRACING_DESCRIPTION, kOsAll, 1195 IDS_FLAGS_ENABLE_NAVIGATION_TRACING_DESCRIPTION, kOsAll,
1196 SINGLE_VALUE_TYPE(switches::kEnableNavigationTracing)}, 1196 SINGLE_VALUE_TYPE(switches::kEnableNavigationTracing)},
1197 {"trace-upload-url", IDS_FLAGS_TRACE_UPLOAD_URL, 1197 {"trace-upload-url", IDS_FLAGS_TRACE_UPLOAD_URL,
1198 IDS_FLAGS_TRACE_UPLOAD_URL_DESCRIPTION, kOsAll, 1198 IDS_FLAGS_TRACE_UPLOAD_URL_DESCRIPTION, kOsAll,
1199 MULTI_VALUE_TYPE(kTraceUploadURL)}, 1199 MULTI_VALUE_TYPE(kTraceUploadURL)},
1200 {"enable-stale-while-revalidate",
1201 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME,
1202 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, kOsAll,
1203 FEATURE_VALUE_TYPE(features::kStaleWhileRevalidate)},
1204 {"enable-service-worker-navigation-preload", 1200 {"enable-service-worker-navigation-preload",
1205 IDS_FLAGS_SERVICE_WORKER_NAVIGATION_PRELOAD_NAME, 1201 IDS_FLAGS_SERVICE_WORKER_NAVIGATION_PRELOAD_NAME,
1206 IDS_FLAGS_SERVICE_WORKER_NAVIGATION_PRELOAD_DESCRIPTION, kOsAll, 1202 IDS_FLAGS_SERVICE_WORKER_NAVIGATION_PRELOAD_DESCRIPTION, kOsAll,
1207 FEATURE_VALUE_TYPE(features::kServiceWorkerNavigationPreload)}, 1203 FEATURE_VALUE_TYPE(features::kServiceWorkerNavigationPreload)},
1208 {"enable-suggestions-with-substring-match", 1204 {"enable-suggestions-with-substring-match",
1209 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, 1205 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME,
1210 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, kOsAll, 1206 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, kOsAll,
1211 SINGLE_VALUE_TYPE( 1207 SINGLE_VALUE_TYPE(
1212 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, 1208 autofill::switches::kEnableSuggestionsWithSubstringMatch)},
1213 {"enable-speculative-launch-service-worker", 1209 {"enable-speculative-launch-service-worker",
(...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after
2618 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2614 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2619 2615
2620 const FeatureEntry* GetFeatureEntries(size_t* count) { 2616 const FeatureEntry* GetFeatureEntries(size_t* count) {
2621 *count = arraysize(kFeatureEntries); 2617 *count = arraysize(kFeatureEntries);
2622 return kFeatureEntries; 2618 return kFeatureEntries;
2623 } 2619 }
2624 2620
2625 } // namespace testing 2621 } // namespace testing
2626 2622
2627 } // namespace about_flags 2623 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698