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

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

Issue 2000063005: [WIP] Speculatively launch Service Workers on mouse/touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 MULTI_VALUE_TYPE(kTraceUploadURL)}, 1018 MULTI_VALUE_TYPE(kTraceUploadURL)},
1019 {"enable-stale-while-revalidate", 1019 {"enable-stale-while-revalidate",
1020 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME, 1020 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_NAME,
1021 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, kOsAll, 1021 IDS_FLAGS_ENABLE_STALE_WHILE_REVALIDATE_DESCRIPTION, kOsAll,
1022 FEATURE_VALUE_TYPE(features::kStaleWhileRevalidate)}, 1022 FEATURE_VALUE_TYPE(features::kStaleWhileRevalidate)},
1023 {"enable-suggestions-with-substring-match", 1023 {"enable-suggestions-with-substring-match",
1024 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME, 1024 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_NAME,
1025 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, kOsAll, 1025 IDS_FLAGS_SUGGESTIONS_WITH_SUB_STRING_MATCH_DESCRIPTION, kOsAll,
1026 SINGLE_VALUE_TYPE( 1026 SINGLE_VALUE_TYPE(
1027 autofill::switches::kEnableSuggestionsWithSubstringMatch)}, 1027 autofill::switches::kEnableSuggestionsWithSubstringMatch)},
1028 {"enable-speculative-launch-service-worker",
1029 IDS_FLAGS_SPECULATIVE_LAUNCH_SERVICE_WORKER_NAME,
1030 IDS_FLAGS_SPECULATIVE_LAUNCH_SERVICE_WORKER_DESCRIPTION, kOsAll,
1031 FEATURE_VALUE_TYPE(features::kSpeculativeLaunchServiceWorker)},
1028 {"enable-supervised-user-managed-bookmarks-folder", 1032 {"enable-supervised-user-managed-bookmarks-folder",
1029 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME, 1033 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_NAME,
1030 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION, 1034 IDS_FLAGS_SUPERVISED_USER_MANAGED_BOOKMARKS_FOLDER_DESCRIPTION,
1031 kOsAll, 1035 kOsAll,
1032 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)}, 1036 SINGLE_VALUE_TYPE(switches::kEnableSupervisedUserManagedBookmarksFolder)},
1033 #if defined(ENABLE_APP_LIST) 1037 #if defined(ENABLE_APP_LIST)
1034 {"enable-sync-app-list", IDS_FLAGS_SYNC_APP_LIST_NAME, 1038 {"enable-sync-app-list", IDS_FLAGS_SYNC_APP_LIST_NAME,
1035 IDS_FLAGS_SYNC_APP_LIST_DESCRIPTION, kOsDesktop, 1039 IDS_FLAGS_SYNC_APP_LIST_DESCRIPTION, kOsDesktop,
1036 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableSyncAppList, 1040 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableSyncAppList,
1037 app_list::switches::kDisableSyncAppList)}, 1041 app_list::switches::kDisableSyncAppList)},
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after
2110 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2114 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2111 2115
2112 const FeatureEntry* GetFeatureEntries(size_t* count) { 2116 const FeatureEntry* GetFeatureEntries(size_t* count) {
2113 *count = arraysize(kFeatureEntries); 2117 *count = arraysize(kFeatureEntries);
2114 return kFeatureEntries; 2118 return kFeatureEntries;
2115 } 2119 }
2116 2120
2117 } // namespace testing 2121 } // namespace testing
2118 2122
2119 } // namespace about_flags 2123 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698