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

Unified Diff: chrome/browser/local_discovery/storage/privet_volume_lister.h

Issue 195983023: Enable devices page UI on MacOSX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_dcheck
Patch Set: Created 6 years, 9 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/local_discovery/storage/privet_volume_lister.h
diff --git a/chrome/browser/local_discovery/storage/privet_volume_lister.h b/chrome/browser/local_discovery/storage/privet_volume_lister.h
index cc47d39ca6ea96e61167e6409c0293210c76707e..53f2e896cec2dd6feb21ec0255ff7b37e8ea3fd9 100644
--- a/chrome/browser/local_discovery/storage/privet_volume_lister.h
+++ b/chrome/browser/local_discovery/storage/privet_volume_lister.h
@@ -12,7 +12,7 @@
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"
-#if defined(ENABLE_MDNS)
+#if defined(ENABLE_SERVICE_DISCOVERY)
#include "chrome/browser/local_discovery/privet_device_lister.h"
#include "chrome/browser/local_discovery/service_discovery_shared_client.h"
#endif
@@ -22,7 +22,7 @@ namespace local_discovery {
// This class will eventually list all of the user's Privet storage devices,
// but during prototyping phase searches the local network for Privet storage
// devices.
-#if defined(ENABLE_MDNS)
+#if defined(ENABLE_SERVICE_DISCOVERY)
class PrivetVolumeLister : public PrivetDeviceLister::Delegate {
#else
class PrivetVolumeLister {
@@ -46,7 +46,7 @@ class PrivetVolumeLister {
return canonical_volume_list_;
}
-#if defined(ENABLE_MDNS)
+#if defined(ENABLE_SERVICE_DISCOVERY)
virtual void DeviceChanged(bool added,
const std::string& name,
const DeviceDescription& description) OVERRIDE;
@@ -55,7 +55,7 @@ class PrivetVolumeLister {
#endif
private:
-#if defined(ENABLE_MDNS)
+#if defined(ENABLE_SERVICE_DISCOVERY)
void FinishSearch();
scoped_refptr<ServiceDiscoverySharedClient> service_discovery_client_;
« no previous file with comments | « chrome/browser/local_discovery/privet_notifications.cc ('k') | chrome/browser/local_discovery/storage/privet_volume_lister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698