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

Unified Diff: device/geolocation/wifi_data_provider_mac.h

Issue 2833273002: Geolocation cleanup: use unique_ptr<>s and rename New{WlanApi/PollingPolicy} to CreateBla() (Closed)
Patch Set: reillyg@s nits Created 3 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: device/geolocation/wifi_data_provider_mac.h
diff --git a/device/geolocation/wifi_data_provider_mac.h b/device/geolocation/wifi_data_provider_mac.h
index 42f28984d56655f923727520957ef643d87cdab7..0c38c3a2c911e4a042fdcde339dc9a0dcaa45bd9 100644
--- a/device/geolocation/wifi_data_provider_mac.h
+++ b/device/geolocation/wifi_data_provider_mac.h
@@ -20,9 +20,9 @@ class WifiDataProviderMac : public WifiDataProviderCommon {
private:
~WifiDataProviderMac() override;
- // WifiDataProviderCommon
- WlanApiInterface* NewWlanApi() override;
- WifiPollingPolicy* NewPollingPolicy() override;
+ // WifiDataProviderCommon implementation
+ std::unique_ptr<WlanApiInterface> CreateWlanApi() override;
+ std::unique_ptr<WifiPollingPolicy> CreatePollingPolicy() override;
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderMac);
};
« no previous file with comments | « device/geolocation/wifi_data_provider_linux_unittest.cc ('k') | device/geolocation/wifi_data_provider_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698