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

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

Issue 2778173002: Revert of "Speculatively launch Service Workers on mouse/touch events." (Closed)
Patch Set: rebase 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/chrome_content_browser_client.cc » ('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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 MULTI_VALUE_TYPE(kTraceUploadURL)}, 1223 MULTI_VALUE_TYPE(kTraceUploadURL)},
1224 {"enable-service-worker-navigation-preload", 1224 {"enable-service-worker-navigation-preload",
1225 flag_descriptions::kServiceWorkerNavigationPreloadName, 1225 flag_descriptions::kServiceWorkerNavigationPreloadName,
1226 flag_descriptions::kServiceWorkerNavigationPreloadDescription, kOsAll, 1226 flag_descriptions::kServiceWorkerNavigationPreloadDescription, kOsAll,
1227 FEATURE_VALUE_TYPE(features::kServiceWorkerNavigationPreload)}, 1227 FEATURE_VALUE_TYPE(features::kServiceWorkerNavigationPreload)},
1228 {"enable-suggestions-with-substring-match", 1228 {"enable-suggestions-with-substring-match",
1229 flag_descriptions::kSuggestionsWithSubStringMatchName, 1229 flag_descriptions::kSuggestionsWithSubStringMatchName,
1230 flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll, 1230 flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll,
1231 SINGLE_VALUE_TYPE( 1231 SINGLE_VALUE_TYPE(
1232 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, 1232 autofill::switches::kEnableSuggestionsWithSubstringMatch)},
1233 {"enable-speculative-launch-service-worker",
1234 flag_descriptions::kSpeculativeLaunchServiceWorkerName,
1235 flag_descriptions::kSpeculativeLaunchServiceWorkerDescription, kOsAll,
1236 FEATURE_VALUE_TYPE(features::kSpeculativeLaunchServiceWorker)},
1237 {"enable-supervised-user-managed-bookmarks-folder", 1233 {"enable-supervised-user-managed-bookmarks-folder",
1238 flag_descriptions::kSupervisedUserManagedBookmarksFolderName, 1234 flag_descriptions::kSupervisedUserManagedBookmarksFolderName,
1239 flag_descriptions::kSupervisedUserManagedBookmarksFolderDescription, 1235 flag_descriptions::kSupervisedUserManagedBookmarksFolderDescription,
1240 kOsAll, 1236 kOsAll,
1241 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, 1237 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)},
1242 #if BUILDFLAG(ENABLE_APP_LIST) 1238 #if BUILDFLAG(ENABLE_APP_LIST)
1243 {"enable-sync-app-list", flag_descriptions::kSyncAppListName, 1239 {"enable-sync-app-list", flag_descriptions::kSyncAppListName,
1244 flag_descriptions::kSyncAppListDescription, kOsDesktop, 1240 flag_descriptions::kSyncAppListDescription, kOsDesktop,
1245 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableSyncAppList, 1241 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableSyncAppList,
1246 app_list::switches::kDisableSyncAppList)}, 1242 app_list::switches::kDisableSyncAppList)},
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
2697 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2693 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2698 2694
2699 const FeatureEntry* GetFeatureEntries(size_t* count) { 2695 const FeatureEntry* GetFeatureEntries(size_t* count) {
2700 *count = arraysize(kFeatureEntries); 2696 *count = arraysize(kFeatureEntries);
2701 return kFeatureEntries; 2697 return kFeatureEntries;
2702 } 2698 }
2703 2699
2704 } // namespace testing 2700 } // namespace testing
2705 2701
2706 } // namespace about_flags 2702 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698