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

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

Issue 2053573002: Speculatively launch Service Workers on mouse/touch events. [5/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/evnets/events/ Created 4 years, 4 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') | chrome/browser/chrome_service_worker_browsertest.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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 MULTI_VALUE_TYPE(kTraceUploadURL)}, 1114 MULTI_VALUE_TYPE(kTraceUploadURL)},
1115 {"enable-stale-while-revalidate", 1115 {"enable-stale-while-revalidate",
1116 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, 1116 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME,
1117 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, kOsAll, 1117 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, kOsAll,
1118 FEATURE_VALUE_TYPE(features::kStaleWhileRevalidate)}, 1118 FEATURE_VALUE_TYPE(features::kStaleWhileRevalidate)},
1119 {"enable-suggestions-with-substring-match", 1119 {"enable-suggestions-with-substring-match",
1120 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, 1120 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME,
1121 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, kOsAll, 1121 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, kOsAll,
1122 SINGLE_VALUE_TYPE( 1122 SINGLE_VALUE_TYPE(
1123 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, 1123 autofill::switches::kEnableSuggestionsWithSubstringMatch)},
1124 {"enable-speculative-launch-service-worker",
1125 IDS_FLAGS_SPECULATIVE_LAUNCH_SERVICE_WORKER_NAME,
1126 IDS_FLAGS_SPECULATIVE_LAUNCH_SERVICE_WORKER_DESCRIPTION, kOsAll,
1127 FEATURE_VALUE_TYPE(features::kSpeculativeLaunchServiceWorker)},
1124 {"enable-supervised-user-managed-bookmarks-folder", 1128 {"enable-supervised-user-managed-bookmarks-folder",
1125 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, 1129 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME,
1126 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, kOsAll, 1130 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, kOsAll,
1127 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, 1131 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)},
1128 #if defined(ENABLE_APP_LIST) 1132 #if defined(ENABLE_APP_LIST)
1129 {"enable-sync-app-list", IDS_FLAGS_SYNC_APP_LIST_NAME, 1133 {"enable-sync-app-list", IDS_FLAGS_SYNC_APP_LIST_NAME,
1130 IDS_FLAGS_SYNC_APP_LIST_DESCRIPTION, kOsDesktop, 1134 IDS_FLAGS_SYNC_APP_LIST_DESCRIPTION, kOsDesktop,
1131 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableSyncAppList, 1135 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableSyncAppList,
1132 app_list::switches::kDisableSyncAppList)}, 1136 app_list::switches::kDisableSyncAppList)},
1133 #endif 1137 #endif
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2243 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2240 2244
2241 const FeatureEntry* GetFeatureEntries(size_t* count) { 2245 const FeatureEntry* GetFeatureEntries(size_t* count) {
2242 *count = arraysize(kFeatureEntries); 2246 *count = arraysize(kFeatureEntries);
2243 return kFeatureEntries; 2247 return kFeatureEntries;
2244 } 2248 }
2245 2249
2246 } // namespace testing 2250 } // namespace testing
2247 2251
2248 } // namespace about_flags 2252 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_service_worker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698