OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 |
11 message DevicePolicyRefreshRateProto { | 11 message DevicePolicyRefreshRateProto { |
12 // In milliseconds. | 12 // In milliseconds. |
13 optional int64 policy_refresh_rate = 1; | 13 optional int64 policy_refresh_rate = 1; |
14 } | 14 } |
15 | 15 |
16 message UserWhitelistProto { | 16 message UserWhitelistProto { |
17 repeated string user_whitelist = 1; | 17 repeated string user_whitelist = 1; |
18 } | 18 } |
19 | 19 |
20 message AllowNewUsersProto { | |
21 // Determines whether we allow arbitrary users to log into the device. | |
22 // Should default to true. | |
23 // This interacts with the UserWhitelistProto as follows: | |
24 // allow_new_users | user_whitelist | user_whitelist_size | anyone can log in | |
25 //-----------------+----------------+---------------------+------------------ | |
26 // present, true | not present | N/A | Yes | |
27 //-----------------+----------------+---------------------+------------------ | |
28 // present, true | present | >= 0 | Yes | |
29 //-----------------+----------------+---------------------+------------------ | |
30 // present, false | not present | N/A | (Broken) Yes | |
31 //-----------------+----------------+---------------------+------------------ | |
32 // present, false | present | 0 | (Broken) Yes | |
33 //-----------------+----------------+---------------------+------------------ | |
34 // present, false | present | > 0 | No, W/L enforced | |
35 //-----------------+----------------+---------------------+------------------ | |
36 // not present | not present | N/A | Yes | |
37 //-----------------+----------------+---------------------+------------------ | |
38 // not present | present | 0 | Yes | |
39 //-----------------+----------------+---------------------+------------------ | |
40 // not present | present | > 0 | No, W/L enforced | |
41 //-----------------+----------------+---------------------+------------------ | |
42 optional bool allow_new_users = 1; | |
gfeher
2011/04/12 16:18:29
Do I understand correctly, that we only need this
Chris Masone
2011/04/12 16:22:39
Essentially, yes. We will use this to persist (an
| |
43 } | |
44 | |
20 message GuestModeEnabledProto { | 45 message GuestModeEnabledProto { |
21 // Determines if guests are allowed to log in to the device. | 46 // Determines if guests are allowed to log in to the device. |
22 // Should default to true. | 47 // Should default to true. |
23 optional bool guest_mode_enabled = 1; | 48 optional bool guest_mode_enabled = 1; |
24 } | 49 } |
25 | 50 |
26 message ShowUserNamesOnSigninProto { | 51 message ShowUserNamesOnSigninProto { |
27 // Determines if we show pods for existing users on the sign in screen. | 52 // Determines if we show pods for existing users on the sign in screen. |
28 // Should default to true. | 53 // Should default to true. |
29 optional bool show_user_names = 1; | 54 optional bool show_user_names = 1; |
(...skipping 12 matching lines...) Expand all Loading... | |
42 optional string proxy_bypass_list = 4; | 67 optional string proxy_bypass_list = 4; |
43 } | 68 } |
44 | 69 |
45 message ChromeDeviceSettingsProto { | 70 message ChromeDeviceSettingsProto { |
46 optional DevicePolicyRefreshRateProto policy_refresh_rate = 1; | 71 optional DevicePolicyRefreshRateProto policy_refresh_rate = 1; |
47 optional UserWhitelistProto user_whitelist = 2; | 72 optional UserWhitelistProto user_whitelist = 2; |
48 optional GuestModeEnabledProto guest_mode_enabled = 3; | 73 optional GuestModeEnabledProto guest_mode_enabled = 3; |
49 optional DeviceProxySettingsProto device_proxy_settings = 4; | 74 optional DeviceProxySettingsProto device_proxy_settings = 4; |
50 optional ShowUserNamesOnSigninProto show_user_names = 5; | 75 optional ShowUserNamesOnSigninProto show_user_names = 5; |
51 optional DataRoamingEnabledProto data_roaming_enabled = 6; | 76 optional DataRoamingEnabledProto data_roaming_enabled = 6; |
77 optional AllowNewUsersProto allow_new_users = 7; | |
52 } | 78 } |
OLD | NEW |