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

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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 // The list is used by the permission_broker daemon. 680 // The list is used by the permission_broker daemon.
681 message UsbDetachableWhitelistProto { 681 message UsbDetachableWhitelistProto {
682 repeated UsbDeviceIdProto id = 1; 682 repeated UsbDeviceIdProto id = 1;
683 } 683 }
684 684
685 message AllowBluetoothProto { 685 message AllowBluetoothProto {
686 // Policy which controls whether Bluetooth is available. 686 // Policy which controls whether Bluetooth is available.
687 optional bool allow_bluetooth = 1 [default = true]; 687 optional bool allow_bluetooth = 1 [default = true];
688 } 688 }
689 689
690 message SystemTimezoneAutomaticDetectionProto {
cschuet (SLOW) 2016/03/30 13:08:48 Rather than creating a new submessage for just thi
Alexander Alekseev 2016/03/31 06:51:49 I will try, but this seems to be tricky. SystemTim
691 // This allows domain administrators to control the timezone settings for
692 // their devices.
693 enum AutomaticTimezoneDetectionType {
694 USERS_DECIDE = 0;
695 DISABLED = 1;
696 IP_ONLY = 2;
697 SEND_WIFI_ACCESS_POINTS = 3;
698 SEND_WIFI_ACCESS_POINTS_TEST = 4;
699 };
700
701 optional AutomaticTimezoneDetectionType timezone_detection_type = 1;
702 }
703
690 message ChromeDeviceSettingsProto { 704 message ChromeDeviceSettingsProto {
691 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 705 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
692 optional UserWhitelistProto user_whitelist = 2; 706 optional UserWhitelistProto user_whitelist = 2;
693 optional GuestModeEnabledProto guest_mode_enabled = 3; 707 optional GuestModeEnabledProto guest_mode_enabled = 3;
694 optional OBSOLETE_DeviceProxySettingsProto device_proxy_settings = 4 708 optional OBSOLETE_DeviceProxySettingsProto device_proxy_settings = 4
695 [deprecated = true]; 709 [deprecated = true];
696 optional CameraEnabledProto camera_enabled = 5; 710 optional CameraEnabledProto camera_enabled = 5;
697 optional ShowUserNamesOnSigninProto show_user_names = 6; 711 optional ShowUserNamesOnSigninProto show_user_names = 6;
698 optional DataRoamingEnabledProto data_roaming_enabled = 7; 712 optional DataRoamingEnabledProto data_roaming_enabled = 7;
699 optional AllowNewUsersProto allow_new_users = 8; 713 optional AllowNewUsersProto allow_new_users = 8;
(...skipping 29 matching lines...) Expand all
729 optional ExtensionCacheSizeProto extension_cache_size = 36; 743 optional ExtensionCacheSizeProto extension_cache_size = 36;
730 optional LoginScreenDomainAutoCompleteProto 744 optional LoginScreenDomainAutoCompleteProto
731 login_screen_domain_auto_complete = 37; 745 login_screen_domain_auto_complete = 37;
732 optional DeviceLogUploadSettingsProto device_log_upload_settings = 38; 746 optional DeviceLogUploadSettingsProto device_log_upload_settings = 38;
733 optional DisplayRotationDefaultProto display_rotation_default = 39; 747 optional DisplayRotationDefaultProto display_rotation_default = 39;
734 optional AllowKioskAppControlChromeVersionProto 748 optional AllowKioskAppControlChromeVersionProto
735 allow_kiosk_app_control_chrome_version = 40; 749 allow_kiosk_app_control_chrome_version = 40;
736 optional LoginAuthenticationBehaviorProto login_authentication_behavior = 41; 750 optional LoginAuthenticationBehaviorProto login_authentication_behavior = 41;
737 optional UsbDetachableWhitelistProto usb_detachable_whitelist = 42; 751 optional UsbDetachableWhitelistProto usb_detachable_whitelist = 42;
738 optional AllowBluetoothProto allow_bluetooth = 43; 752 optional AllowBluetoothProto allow_bluetooth = 43;
753 optional SystemTimezoneAutomaticDetectionProto
754 system_timezone_automatic_detection = 44;
739 } 755 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698