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

Unified Diff: chrome/browser/chromeos/system/timezone_resolver_manager.cc

Issue 2624843003: Add support for cellular geolocation (Closed)
Patch Set: Use cell tower info in SimpleGeolocationProvider. Created 3 years, 11 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: chrome/browser/chromeos/system/timezone_resolver_manager.cc
diff --git a/chrome/browser/chromeos/system/timezone_resolver_manager.cc b/chrome/browser/chromeos/system/timezone_resolver_manager.cc
index ac9f3586e9be59299e067fa283bab8e3f4363559..6c4aa52b602c8114271a588ea39adb69c5374e4d 100644
--- a/chrome/browser/chromeos/system/timezone_resolver_manager.cc
+++ b/chrome/browser/chromeos/system/timezone_resolver_manager.cc
@@ -144,6 +144,11 @@ bool TimeZoneResolverManager::ShouldSendWiFiGeolocationData() {
enterprise_management::SystemTimezoneProto::SEND_WIFI_ACCESS_POINTS;
}
+bool TimeZoneResolverManager::ShouldSendCellularGeolocationData() {
+ // Cellular and wifi are currently bundled
+ return ShouldSendWiFiGeolocationData();
+}
+
void TimeZoneResolverManager::UpdateTimezoneResolver() {
if (TimeZoneResolverShouldBeRunning())
g_browser_process->platform_part()->GetTimezoneResolver()->Start();

Powered by Google App Engine
This is Rietveld 408576698