Index: device/geolocation/wifi_data_provider_chromeos_unittest.cc |
diff --git a/device/geolocation/wifi_data_provider_chromeos_unittest.cc b/device/geolocation/wifi_data_provider_chromeos_unittest.cc |
index 70e469e35afb67172316e54710bcd61e9c85f13b..d740b2f1e50ebfd2d9863fba6202991eb7c787cb 100644 |
--- a/device/geolocation/wifi_data_provider_chromeos_unittest.cc |
+++ b/device/geolocation/wifi_data_provider_chromeos_unittest.cc |
@@ -18,8 +18,7 @@ namespace device { |
class GeolocationChromeOsWifiDataProviderTest : public testing::Test { |
protected: |
- GeolocationChromeOsWifiDataProviderTest() { |
- } |
+ GeolocationChromeOsWifiDataProviderTest() {} |
void SetUp() override { |
chromeos::DBusThreadManager::Initialize(); |
@@ -37,23 +36,20 @@ class GeolocationChromeOsWifiDataProviderTest : public testing::Test { |
chromeos::DBusThreadManager::Shutdown(); |
} |
- bool GetAccessPointData() { |
- return provider_->GetAccessPointData(&ap_data_); |
- } |
+ bool GetAccessPointData() { return provider_->GetAccessPointData(&ap_data_); } |
void AddAccessPoints(int ssids, int aps_per_ssid) { |
for (int i = 0; i < ssids; ++i) { |
for (int j = 0; j < aps_per_ssid; ++j) { |
base::DictionaryValue properties; |
- std::string mac_address = |
- base::StringPrintf("%02X:%02X:%02X:%02X:%02X:%02X", |
- i, j, 3, 4, 5, 6); |
+ std::string mac_address = base::StringPrintf( |
+ "%02X:%02X:%02X:%02X:%02X:%02X", i, j, 3, 4, 5, 6); |
std::string channel = base::IntToString(i * 10 + j); |
std::string strength = base::IntToString(i * 100 + j); |
- properties.SetStringWithoutPathExpansion( |
- shill::kGeoMacAddressProperty, mac_address); |
- properties.SetStringWithoutPathExpansion( |
- shill::kGeoChannelProperty, channel); |
+ properties.SetStringWithoutPathExpansion(shill::kGeoMacAddressProperty, |
+ mac_address); |
+ properties.SetStringWithoutPathExpansion(shill::kGeoChannelProperty, |
+ channel); |
properties.SetStringWithoutPathExpansion( |
shill::kGeoSignalStrengthProperty, strength); |
manager_test_->AddGeoNetwork(shill::kTypeWifi, properties); |