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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/BUILD.gn ('k') | chrome/browser/devtools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c4cf2a900fe57c7d2b9d5f4503519d87d1d86cb5..6deea230cde4c1626bfa2d7edfa7a86318562e32 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1175,7 +1175,7 @@ const FeatureEntry kFeatureEntries[] = {
{"enable-tcp-fast-open", IDS_FLAGS_TCP_FAST_OPEN_NAME,
IDS_FLAGS_TCP_FAST_OPEN_DESCRIPTION, kOsLinux | kOsCrOS | kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)},
-#if defined(ENABLE_SERVICE_DISCOVERY)
+#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
{"device-discovery-notifications",
IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_NAME,
IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, kOsDesktop,
@@ -1185,7 +1185,7 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_PRINT_PREVIEW_REGISTER_PROMOS_NAME,
IDS_FLAGS_PRINT_PREVIEW_REGISTER_PROMOS_DESCRIPTION, kOsDesktop,
SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)},
-#endif // ENABLE_SERVICE_DISCOVERY
+#endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
#if defined(OS_WIN)
{"enable-cloud-print-xps", IDS_FLAGS_CLOUD_PRINT_XPS_NAME,
IDS_FLAGS_CLOUD_PRINT_XPS_DESCRIPTION, kOsWin,
« 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