• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3// found in the LICENSE file.
4
5syntax = "proto2";
6
7option optimize_for = LITE_RUNTIME;
8
9package enterprise_management;
10
11message DevicePolicyRefreshRateProto {
12  // In milliseconds.
13  optional int64 policy_refresh_rate = 1;
14}
15
16message UserWhitelistProto {
17  repeated string user_whitelist = 1;
18}
19
20message 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;
43}
44
45message GuestModeEnabledProto {
46  // Determines if guests are allowed to log in to the device.
47  // Should default to true.
48  optional bool guest_mode_enabled = 1;
49}
50
51message ShowUserNamesOnSigninProto {
52  // Determines if we show pods for existing users on the sign in screen.
53  // Should default to true.
54  optional bool show_user_names = 1;
55}
56
57message DataRoamingEnabledProto {
58  // Determines if cellular data roaming is enabled.  Should default to false.
59  optional bool data_roaming_enabled = 1;
60}
61
62message DeviceProxySettingsProto {
63  // One of "direct", "auto_detect", "pac_script", "fixed_servers", "system"
64  optional string proxy_mode = 1;
65  optional string proxy_server = 2;
66  optional string proxy_pac_url = 3;
67  optional string proxy_bypass_list = 4;
68}
69
70message ChromeDeviceSettingsProto {
71  optional DevicePolicyRefreshRateProto policy_refresh_rate = 1;
72  optional UserWhitelistProto user_whitelist = 2;
73  optional GuestModeEnabledProto guest_mode_enabled = 3;
74  optional DeviceProxySettingsProto device_proxy_settings = 4;
75  optional ShowUserNamesOnSigninProto show_user_names = 6;
76  optional DataRoamingEnabledProto data_roaming_enabled = 7;
77  optional AllowNewUsersProto allow_new_users = 8;
78}
79