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

Unified Diff: chrome/browser/chromeos/system/timezone_util.h

Issue 834073002: ChromeOS: Implement periodic timezone refresh on geolocation data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 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_util.h
diff --git a/chrome/browser/chromeos/system/timezone_util.h b/chrome/browser/chromeos/system/timezone_util.h
index f2f97d4a6c54a5df054ff8ebbafe21753cfc9e67..484ba820a943b8fe562522b0818c4327d844d327 100644
--- a/chrome/browser/chromeos/system/timezone_util.h
+++ b/chrome/browser/chromeos/system/timezone_util.h
@@ -12,11 +12,20 @@ class ListValue;
}
namespace chromeos {
+
+struct TimeZoneResponseData;
+
namespace system {
// Creates a list of pairs of each timezone's ID and name.
scoped_ptr<base::ListValue> GetTimezoneList();
+// Returns true if device is managed and has SystemTimezonePolicy set.
+bool HasSystemTimezonePolicy();
+
+// Apply TimeZone update from TimeZoneProvider.
+void ApplyTimeZone(const TimeZoneResponseData* timezone);
+
} // namespace system
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698