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

Unified Diff: chrome/browser/chromeos/preferences.h

Issue 1843523002: ChromeOS: Add SystemTimezoneAutomaticDetection policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@596690--Implement-better-timezone-detection--refactoring-before-policy
Patch Set: 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
Index: chrome/browser/chromeos/preferences.h
diff --git a/chrome/browser/chromeos/preferences.h b/chrome/browser/chromeos/preferences.h
index 1a0e8fb326162ba8da10a7a76ceeb3d6ebd593ab..34ad8a353b95d98e0c5530326234523a05f2f83e 100644
--- a/chrome/browser/chromeos/preferences.h
+++ b/chrome/browser/chromeos/preferences.h
@@ -38,6 +38,17 @@ class InputMethodManager;
class InputMethodSyncer;
}
+// This is a set of possible values of SystemTimezoneAutomaticDetection device
+// policy. It should be kept in sync with enum AutomaticTimezoneDetectionType
+// in chrome_device_policy.proto .
+enum ResolveDeviceTimezoneByGeolocationPolicyValues {
+ USERS_DECIDE = 0,
+ DISABLED = 1,
+ IP_ONLY = 2,
+ SEND_WIFI_ACCESS_POINTS = 3,
+ NUM_ELEMENTS
+};
stevenjb 2016/03/29 17:01:24 Why not include the pb.h file directly where this
Alexander Alekseev 2016/03/30 03:07:23 Done.
+
// The Preferences class handles Chrome OS preferences. When the class
// is first initialized, it will initialize the OS settings to what's stored in
// the preferences. These include touchpad settings, etc.

Powered by Google App Engine
This is Rietveld 408576698