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

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

Issue 2407483002: Make enable_service_discovery a chrome/ feature. (Closed)
Patch Set: Created 4 years, 2 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/BUILD.gn ('k') | chrome/browser/devtools/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 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 IDS_FLAGS_MD_STORAGE_MANAGER_DESCRIPTION, kOsCrOS, 1168 IDS_FLAGS_MD_STORAGE_MANAGER_DESCRIPTION, kOsCrOS,
1169 SINGLE_VALUE_TYPE(chromeos::switches::kEnableMdStorageManager)}, 1169 SINGLE_VALUE_TYPE(chromeos::switches::kEnableMdStorageManager)},
1170 #endif // OS_CHROMEOS 1170 #endif // OS_CHROMEOS
1171 {"enable-simple-cache-backend", IDS_FLAGS_SIMPLE_CACHE_BACKEND_NAME, 1171 {"enable-simple-cache-backend", IDS_FLAGS_SIMPLE_CACHE_BACKEND_NAME,
1172 IDS_FLAGS_SIMPLE_CACHE_BACKEND_DESCRIPTION, 1172 IDS_FLAGS_SIMPLE_CACHE_BACKEND_DESCRIPTION,
1173 kOsWin | kOsMac | kOsLinux | kOsCrOS, 1173 kOsWin | kOsMac | kOsLinux | kOsCrOS,
1174 MULTI_VALUE_TYPE(kSimpleCacheBackendChoices)}, 1174 MULTI_VALUE_TYPE(kSimpleCacheBackendChoices)},
1175 {"enable-tcp-fast-open", IDS_FLAGS_TCP_FAST_OPEN_NAME, 1175 {"enable-tcp-fast-open", IDS_FLAGS_TCP_FAST_OPEN_NAME,
1176 IDS_FLAGS_TCP_FAST_OPEN_DESCRIPTION, kOsLinux | kOsCrOS | kOsAndroid, 1176 IDS_FLAGS_TCP_FAST_OPEN_DESCRIPTION, kOsLinux | kOsCrOS | kOsAndroid,
1177 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)}, 1177 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)},
1178 #if defined(ENABLE_SERVICE_DISCOVERY) 1178 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
1179 {"device-discovery-notifications", 1179 {"device-discovery-notifications",
1180 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_NAME, 1180 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_NAME,
1181 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, kOsDesktop, 1181 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, kOsDesktop,
1182 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, 1182 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications,
1183 switches::kDisableDeviceDiscoveryNotifications)}, 1183 switches::kDisableDeviceDiscoveryNotifications)},
1184 {"enable-print-preview-register-promos", 1184 {"enable-print-preview-register-promos",
1185 IDS_FLAGS_PRINT_PREVIEW_REGISTER_PROMOS_NAME, 1185 IDS_FLAGS_PRINT_PREVIEW_REGISTER_PROMOS_NAME,
1186 IDS_FLAGS_PRINT_PREVIEW_REGISTER_PROMOS_DESCRIPTION, kOsDesktop, 1186 IDS_FLAGS_PRINT_PREVIEW_REGISTER_PROMOS_DESCRIPTION, kOsDesktop,
1187 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)}, 1187 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)},
1188 #endif // ENABLE_SERVICE_DISCOVERY 1188 #endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
1189 #if defined(OS_WIN) 1189 #if defined(OS_WIN)
1190 {"enable-cloud-print-xps", IDS_FLAGS_CLOUD_PRINT_XPS_NAME, 1190 {"enable-cloud-print-xps", IDS_FLAGS_CLOUD_PRINT_XPS_NAME,
1191 IDS_FLAGS_CLOUD_PRINT_XPS_DESCRIPTION, kOsWin, 1191 IDS_FLAGS_CLOUD_PRINT_XPS_DESCRIPTION, kOsWin,
1192 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)}, 1192 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)},
1193 #endif // OS_WIN 1193 #endif // OS_WIN
1194 #if defined(TOOLKIT_VIEWS) 1194 #if defined(TOOLKIT_VIEWS)
1195 {"disable-hide-inactive-stacked-tab-close-buttons", 1195 {"disable-hide-inactive-stacked-tab-close-buttons",
1196 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_NAME, 1196 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_NAME,
1197 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_DESCRIPTION, 1197 IDS_FLAGS_HIDE_INACTIVE_STACKED_TAB_CLOSE_BUTTONS_DESCRIPTION,
1198 kOsCrOS | kOsWin | kOsLinux, 1198 kOsCrOS | kOsWin | kOsLinux,
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
2262 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2262 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2263 2263
2264 const FeatureEntry* GetFeatureEntries(size_t* count) { 2264 const FeatureEntry* GetFeatureEntries(size_t* count) {
2265 *count = arraysize(kFeatureEntries); 2265 *count = arraysize(kFeatureEntries);
2266 return kFeatureEntries; 2266 return kFeatureEntries;
2267 } 2267 }
2268 2268
2269 } // namespace testing 2269 } // namespace testing
2270 2270
2271 } // namespace about_flags 2271 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/BUILD.gn ('k') | chrome/browser/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698