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

Unified Diff: chrome/browser/printing/cloud_print/privet_notifications.h

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
Index: chrome/browser/printing/cloud_print/privet_notifications.h
diff --git a/chrome/browser/printing/cloud_print/privet_notifications.h b/chrome/browser/printing/cloud_print/privet_notifications.h
index a6a64fae4d332c18419aed4578560f29a4d31455..823a1a36ae31ebd6778885ab30e58b3d30bb799c 100644
--- a/chrome/browser/printing/cloud_print/privet_notifications.h
+++ b/chrome/browser/printing/cloud_print/privet_notifications.h
@@ -14,6 +14,7 @@
#include "chrome/browser/printing/cloud_print/privet_http.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/prefs/pref_member.h"
+#include "net/net_features.h"
class NotificationUIManager;
class Profile;
@@ -34,7 +35,7 @@ class PrivetHTTPResolution;
class PrivetNotificationDelegate;
struct DeviceDescription;
-#if defined(ENABLE_MDNS)
+#if BUILDFLAG(ENABLE_MDNS)
class PrivetTrafficDetector;
#endif // ENABLE_MDNS
@@ -132,7 +133,7 @@ class PrivetNotificationService
std::unique_ptr<PrivetNotificationsListener> privet_notifications_listener_;
BooleanPrefMember enable_privet_notification_member_;
-#if defined(ENABLE_MDNS)
+#if BUILDFLAG(ENABLE_MDNS)
scoped_refptr<PrivetTrafficDetector> traffic_detector_;
#endif // ENABLE_MDNS
};

Powered by Google App Engine
This is Rietveld 408576698