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

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

Issue 1898503002: Cleanup LocalDiscoveryUIHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 8 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_device_lister_impl.h
diff --git a/chrome/browser/printing/cloud_print/privet_device_lister_impl.h b/chrome/browser/printing/cloud_print/privet_device_lister_impl.h
index fa711cac4d7a90ab2f891e0c28ceb66039e5b0c1..7fca9e1472a26cb1a5fe58c8113238a4a9a97f34 100644
--- a/chrome/browser/printing/cloud_print/privet_device_lister_impl.h
+++ b/chrome/browser/printing/cloud_print/privet_device_lister_impl.h
@@ -31,10 +31,12 @@ class PrivetDeviceListerImpl
~PrivetDeviceListerImpl() override;
+ // PrivetDeviceLister:
void Start() override;
void DiscoverNewDevices(bool force_update) override;
protected:
+ // ServiceDiscoveryDeviceLister:
void OnDeviceChanged(
bool added,
const local_discovery::ServiceDescription& service_description) override;
@@ -42,7 +44,7 @@ class PrivetDeviceListerImpl
void OnDeviceCacheFlushed() override;
private:
- PrivetDeviceLister::Delegate* delegate_;
+ PrivetDeviceLister::Delegate* const delegate_;
local_discovery::ServiceDiscoveryDeviceLister device_lister_;
};

Powered by Google App Engine
This is Rietveld 408576698