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

Unified Diff: device/geolocation/wifi_data_provider_linux_unittest.cc

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
« no previous file with comments | « device/geolocation/wifi_data_provider_linux.cc ('k') | device/geolocation/wifi_data_provider_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/wifi_data_provider_linux_unittest.cc
diff --git a/device/geolocation/wifi_data_provider_linux_unittest.cc b/device/geolocation/wifi_data_provider_linux_unittest.cc
index 99e7557f3176b9b8c7bc52e36b1c1e70c0a01426..c5b0eb474efb11476e7c597f108c208b19d418a5 100644
--- a/device/geolocation/wifi_data_provider_linux_unittest.cc
+++ b/device/geolocation/wifi_data_provider_linux_unittest.cc
@@ -92,9 +92,8 @@ class GeolocationWifiDataProviderLinuxTest : public testing::Test {
// Create the wlan API with the mock bus object injected.
wifi_provider_linux_ = new WifiDataProviderLinux;
- wlan_api_.reset(
- wifi_provider_linux_->NewWlanApiForTesting(mock_bus_.get()));
- ASSERT_TRUE(wlan_api_.get());
+ wlan_api_ = wifi_provider_linux_->CreateWlanApiForTesting(mock_bus_.get());
+ ASSERT_TRUE(wlan_api_);
}
protected:
« no previous file with comments | « device/geolocation/wifi_data_provider_linux.cc ('k') | device/geolocation/wifi_data_provider_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698