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

Unified Diff: device/geolocation/wifi_data_provider_linux.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_linux.h
diff --git a/device/geolocation/wifi_data_provider_linux.h b/device/geolocation/wifi_data_provider_linux.h
index 69dd37e51366a550f59161dc6710c3e97c20c324..238682111984273821ec663bbf8906db299253cc 100644
--- a/device/geolocation/wifi_data_provider_linux.h
+++ b/device/geolocation/wifi_data_provider_linux.h
@@ -26,12 +26,11 @@ class DEVICE_GEOLOCATION_EXPORT WifiDataProviderLinux
~WifiDataProviderLinux() override;
- // WifiDataProviderCommon
- WlanApiInterface* NewWlanApi() override;
- WifiPollingPolicy* NewPollingPolicy() override;
+ // WifiDataProviderCommon implementation
+ std::unique_ptr<WlanApiInterface> CreateWlanApi() override;
+ std::unique_ptr<WifiPollingPolicy> CreatePollingPolicy() override;
- // For testing.
- WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus);
+ std::unique_ptr<WlanApiInterface> CreateWlanApiForTesting(dbus::Bus* bus);
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux);
};
« no previous file with comments | « device/geolocation/wifi_data_provider_common_unittest.cc ('k') | device/geolocation/wifi_data_provider_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698