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: chromeos/timezone/timezone_resolver.h

Issue 2624843003: Add support for cellular geolocation (Closed)
Patch Set: Update device tests to use correct dict key Created 3 years, 10 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/network/network_util.cc ('k') | chromeos/timezone/timezone_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/timezone/timezone_resolver.h
diff --git a/chromeos/timezone/timezone_resolver.h b/chromeos/timezone/timezone_resolver.h
index 926179d7432645e3dbb4e9e51100fcb5f529b0da..c455f82891b2923c6d4043b775d7748d1182c4bc 100644
--- a/chromeos/timezone/timezone_resolver.h
+++ b/chromeos/timezone/timezone_resolver.h
@@ -42,6 +42,9 @@ class CHROMEOS_EXPORT TimeZoneResolver {
// Returns true if TimeZoneResolver should include WiFi data in request.
virtual bool ShouldSendWiFiGeolocationData() = 0;
+ // Returns true if TimeZoneResolver should include Cellular data in request.
+ virtual bool ShouldSendCellularGeolocationData() = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(Delegate);
};
@@ -82,6 +85,9 @@ class CHROMEOS_EXPORT TimeZoneResolver {
// Proxy call to Delegate::ShouldSendWiFiGeolocationData().
bool ShouldSendWiFiGeolocationData() const;
+ // Proxy call to Delegate::ShouldSendCellularGeolocationData().
+ bool ShouldSendCellularGeolocationData() const;
+
// Expose internal fuctions for testing.
static int MaxRequestsCountForIntervalForTesting(
const double interval_seconds);
« no previous file with comments | « chromeos/network/network_util.cc ('k') | chromeos/timezone/timezone_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698