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

Side by Side Diff: chrome/browser/chromeos/policy/proto/chrome_device_policy.proto

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: Rebased. Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package enterprise_management; 9 package enterprise_management;
10 10
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // all users. Valid values are listed in "timezone_settings.cc". Additionally, 242 // all users. Valid values are listed in "timezone_settings.cc". Additionally,
243 // timezones from the "IANA Time Zone Database" (e.g. listed on wikipedia) 243 // timezones from the "IANA Time Zone Database" (e.g. listed on wikipedia)
244 // that are equivalent to one of the timezones in "timezone_settings.cc" are 244 // that are equivalent to one of the timezones in "timezone_settings.cc" are
245 // valid. In case of an invalid value, the setting is still activated with a 245 // valid. In case of an invalid value, the setting is still activated with a
246 // fallback timezone (currently "GMT"). In case of an empty string or if no 246 // fallback timezone (currently "GMT"). In case of an empty string or if no
247 // value is provided, the timezone device setting is inactive. In that case, 247 // value is provided, the timezone device setting is inactive. In that case,
248 // the currently active timezone will remain in use however users can change 248 // the currently active timezone will remain in use however users can change
249 // the timezone and the change is persistent. Thus a change by one user 249 // the timezone and the change is persistent. Thus a change by one user
250 // affects the login-screen and all other users. 250 // affects the login-screen and all other users.
251 optional string timezone = 1; 251 optional string timezone = 1;
252
253 // This allows domain administrators to control the timezone settings for
254 // their devices.
255 enum AutomaticTimezoneDetectionType {
256 USERS_DECIDE = 0;
257 DISABLED = 1;
258 IP_ONLY = 2;
259 SEND_WIFI_ACCESS_POINTS = 3;
260 };
261
262 optional AutomaticTimezoneDetectionType timezone_detection_type = 2;
252 } 263 }
253 264
254 message SystemUse24HourClockProto { 265 message SystemUse24HourClockProto {
255 // Specifies an owner-determined clock format that applies to the login 266 // Specifies an owner-determined clock format that applies to the login
256 // screen and is used as a default for all user sessions. Users can still 267 // screen and is used as a default for all user sessions. Users can still
257 // override the format to use for their account. 268 // override the format to use for their account.
258 // 269 //
259 // True and false select a 24 and 12 hour clock format, respectively. The 270 // True and false select a 24 and 12 hour clock format, respectively. The
260 // default format for the case the setting is not present is 24 hour clock. 271 // default format for the case the setting is not present is 24 hour clock.
261 optional bool use_24hour_clock = 1; 272 optional bool use_24hour_clock = 1;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 login_screen_domain_auto_complete = 37; 748 login_screen_domain_auto_complete = 37;
738 optional DeviceLogUploadSettingsProto device_log_upload_settings = 38; 749 optional DeviceLogUploadSettingsProto device_log_upload_settings = 38;
739 optional DisplayRotationDefaultProto display_rotation_default = 39; 750 optional DisplayRotationDefaultProto display_rotation_default = 39;
740 optional AllowKioskAppControlChromeVersionProto 751 optional AllowKioskAppControlChromeVersionProto
741 allow_kiosk_app_control_chrome_version = 40; 752 allow_kiosk_app_control_chrome_version = 40;
742 optional LoginAuthenticationBehaviorProto login_authentication_behavior = 41; 753 optional LoginAuthenticationBehaviorProto login_authentication_behavior = 41;
743 optional UsbDetachableWhitelistProto usb_detachable_whitelist = 42; 754 optional UsbDetachableWhitelistProto usb_detachable_whitelist = 42;
744 optional AllowBluetoothProto allow_bluetooth = 43; 755 optional AllowBluetoothProto allow_bluetooth = 43;
745 optional DeviceQuirksDownloadEnabledProto quirks_download_enabled = 44; 756 optional DeviceQuirksDownloadEnabledProto quirks_download_enabled = 44;
746 } 757 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698