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

Unified Diff: chrome/browser/local_discovery/service_discovery_shared_client.cc

Issue 2460653003: Move enable_mdns build flag to net. (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/browser/BUILD.gn ('k') | chrome/browser/printing/cloud_print/privet_notifications.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/service_discovery_shared_client.cc
diff --git a/chrome/browser/local_discovery/service_discovery_shared_client.cc b/chrome/browser/local_discovery/service_discovery_shared_client.cc
index f2a159fe771f659d0256ca72952a855b7a6c93e0..aa18368d1b78cb92ab25be48dcdc9533b2ba7b31 100644
--- a/chrome/browser/local_discovery/service_discovery_shared_client.cc
+++ b/chrome/browser/local_discovery/service_discovery_shared_client.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/local_discovery/service_discovery_shared_client.h"
#include "build/build_config.h"
+#include "net/net_features.h"
#if defined(OS_WIN)
#include "base/files/file_path.h"
@@ -19,7 +20,7 @@
#include "chrome/browser/local_discovery/service_discovery_client_mac_factory.h"
#endif
-#if defined(ENABLE_MDNS)
+#if BUILDFLAG(ENABLE_MDNS)
#include "chrome/browser/local_discovery/service_discovery_client_mdns.h"
#endif // ENABLE_MDNS
@@ -72,7 +73,7 @@ ServiceDiscoverySharedClient::~ServiceDiscoverySharedClient() {
g_service_discovery_client = NULL;
}
-#if defined(ENABLE_MDNS) || defined(OS_MACOSX)
+#if BUILDFLAG(ENABLE_MDNS) || defined(OS_MACOSX)
scoped_refptr<ServiceDiscoverySharedClient>
ServiceDiscoverySharedClient::GetInstance() {
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/printing/cloud_print/privet_notifications.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698