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

Unified Diff: device/geolocation/wifi_data_provider_chromeos.cc

Issue 2200483002: Geolocation cleanup: run clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_chromeos.cc
diff --git a/device/geolocation/wifi_data_provider_chromeos.cc b/device/geolocation/wifi_data_provider_chromeos.cc
index 9f25def765ea1fadbc1c6cb7b6493760a42ffeb3..cc104d1bf0384cc61c36877a6e51a8e1ccfebc6b 100644
--- a/device/geolocation/wifi_data_provider_chromeos.cc
+++ b/device/geolocation/wifi_data_provider_chromeos.cc
@@ -20,10 +20,10 @@ namespace device {
namespace {
// The time periods between successive polls of the wifi data.
-const int kDefaultPollingIntervalMilliseconds = 10 * 1000; // 10s
-const int kNoChangePollingIntervalMilliseconds = 2 * 60 * 1000; // 2 mins
+const int kDefaultPollingIntervalMilliseconds = 10 * 1000; // 10s
+const int kNoChangePollingIntervalMilliseconds = 2 * 60 * 1000; // 2 mins
const int kTwoNoChangePollingIntervalMilliseconds = 10 * 60 * 1000; // 10 mins
-const int kNoWifiPollingIntervalMilliseconds = 20 * 1000; // 20s
+const int kNoWifiPollingIntervalMilliseconds = 20 * 1000; // 20s
} // namespace
@@ -32,8 +32,7 @@ WifiDataProviderChromeOs::WifiDataProviderChromeOs()
is_first_scan_complete_(false),
main_task_runner_(base::ThreadTaskRunnerHandle::Get()) {}
-WifiDataProviderChromeOs::~WifiDataProviderChromeOs() {
-}
+WifiDataProviderChromeOs::~WifiDataProviderChromeOs() {}
void WifiDataProviderChromeOs::StartDataProvider() {
DCHECK(CalledOnClientThread());
@@ -147,8 +146,9 @@ bool WifiDataProviderChromeOs::GetAccessPointData(
chromeos::WifiAccessPointVector access_points;
int64_t age_ms = 0;
- if (!chromeos::NetworkHandler::Get()->geolocation_handler()->
- GetWifiAccessPoints(&access_points, &age_ms)) {
+ if (!chromeos::NetworkHandler::Get()
+ ->geolocation_handler()
+ ->GetWifiAccessPoints(&access_points, &age_ms)) {
return false;
}
for (const auto& access_point : access_points) {
« no previous file with comments | « device/geolocation/wifi_data_provider.cc ('k') | device/geolocation/wifi_data_provider_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698