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

Unified Diff: chromeos/timezone/timezone_resolver.cc

Issue 1819173002: SimpleGeolocation should support sending WiFi AP data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 4 years, 9 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 | « chromeos/timezone/timezone_resolver.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/timezone/timezone_resolver.cc
diff --git a/chromeos/timezone/timezone_resolver.cc b/chromeos/timezone/timezone_resolver.cc
index c6ebfb49fc3ebab2fb38f4bf9bc3787e39f9efaa..9e4c7b9a26b627b101db4526f2f7a607f5749bd8 100644
--- a/chromeos/timezone/timezone_resolver.cc
+++ b/chromeos/timezone/timezone_resolver.cc
@@ -183,6 +183,7 @@ void TZRequest::StartRequestOnNetworkAvailable() {
resolver_->RecordAttempt();
resolver_->geolocation_provider()->RequestGeolocation(
base::TimeDelta::FromSeconds(kRefreshTimeZoneTimeoutSeconds),
+ false /* send_wifi_geolocation_data */,
base::Bind(&TZRequest::OnLocationResolved, AsWeakPtr()));
}
@@ -383,7 +384,8 @@ TimeZoneResolver::TimeZoneResolver(
url_(url),
apply_timezone_(apply_timezone),
delay_network_call_(delay_network_call),
- local_state_(local_state) {
+ local_state_(local_state),
+ send_wifi_data_to_geolocation_api_(false) {
DCHECK(!apply_timezone.is_null());
}
« no previous file with comments | « chromeos/timezone/timezone_resolver.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698