Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 100 } | 100 } |
| 101 | 101 |
| 102 message EphemeralUsersEnabledProto { | 102 message EphemeralUsersEnabledProto { |
| 103 // Determines whether users should be treated as ephemeral. In ephemeral users | 103 // Determines whether users should be treated as ephemeral. In ephemeral users |
| 104 // mode, no cryptohome is created for the user, but a tmpfs mount is used | 104 // mode, no cryptohome is created for the user, but a tmpfs mount is used |
| 105 // instead such that upon logout all user state is discarded. | 105 // instead such that upon logout all user state is discarded. |
| 106 optional bool ephemeral_users_enabled = 1; | 106 optional bool ephemeral_users_enabled = 1; |
| 107 } | 107 } |
| 108 | 108 |
| 109 // Details of an extension to install as part of the AppPack. | 109 // Details of an extension to install as part of the AppPack. |
| 110 message AppPackEntryProto { | 110 message OBSOLETE_AppPackEntryProto { |
| 111 optional string extension_id = 1; | 111 optional string OBSOLETE_extension_id = 1 [deprecated = true]; |
| 112 optional string update_url = 2; | 112 optional string OBSOLETE_update_url = 2 [deprecated = true]; |
| 113 | 113 |
| 114 // This field was added but never used and there are no plans to support it | 114 // This field was added but never used and there are no plans to support it |
| 115 // eventually either. | 115 // eventually either. |
| 116 optional bool OBSOLETE_online_only = 3 [deprecated = true]; | 116 optional bool OBSOLETE_online_only = 3 [deprecated = true]; |
| 117 } | 117 } |
| 118 | 118 |
| 119 message AppPackProto { | 119 message OBSOLETE_AppPackProto { |
| 120 // List of extensions to install as part of the AppPack. | 120 // List of extensions to install as part of the AppPack. |
| 121 repeated AppPackEntryProto app_pack = 1; | 121 repeated OBSOLETE_AppPackEntryProto app_pack = 1 [deprecated = true]; |
| 122 } | 122 } |
| 123 | 123 |
| 124 // This is a special policy for kiosk/retail mode that specifies what apps | 124 // This is a special policy for kiosk/retail mode that specifies what apps |
| 125 // should be pinned to the launcher. For regular accounts, pinned apps are | 125 // should be pinned to the launcher. For regular accounts, pinned apps are |
| 126 // controlled through user policy. | 126 // controlled through user policy. |
| 127 message PinnedAppsProto { | 127 message PinnedAppsProto { |
|
bartfab (slow)
2014/12/02 21:25:27
Nit: Add OBSOLETE_.
rkc
2014/12/04 19:50:07
According to Mattias, this is still in use. Someth
bartfab (slow)
2014/12/15 16:08:40
You had accidentally removed the implementation of
rkc
2014/12/15 20:45:57
Ah - okay, marked this obsolete.
Done.
| |
| 128 // App IDs for the apps to pin. | 128 // App IDs for the apps to pin. |
| 129 repeated string app_id = 1; | 129 repeated string app_id = 1; |
|
bartfab (slow)
2014/12/02 21:25:27
Nit: Add OBSOLETE_ and deprecated = true.
rkc
2014/12/04 19:50:07
Ditto.
bartfab (slow)
2014/12/15 16:08:40
As above, this is used for retail mode only.
rkc
2014/12/15 20:45:57
Done.
| |
| 130 } | 130 } |
| 131 | 131 |
| 132 message ForcedLogoutTimeoutsProto { | 132 message OBSOLETE_ForcedLogoutTimeoutsProto { |
| 133 // All timeouts are specified in milliseconds. | 133 // All timeouts are specified in milliseconds. |
| 134 | 134 |
| 135 // Specifies the timeout before an idle user session is terminated. | 135 // Specifies the timeout before an idle user session is terminated. |
| 136 // If this field is omitted or set to 0, no logout on idle will be performed. | 136 // If this field is omitted or set to 0, no logout on idle will be performed. |
| 137 optional int64 idle_logout_timeout = 1; | 137 optional int64 OBSOLETE_idle_logout_timeout = 1 [deprecated = true]; |
| 138 | 138 |
| 139 // Specifies the duration of a warning countdown before the user is logged out | 139 // Specifies the duration of a warning countdown before the user is logged out |
| 140 // because of idleness as specified by the |idle_logout_timeout| value. | 140 // because of idleness as specified by the |idle_logout_timeout| value. |
| 141 // This field is only used if |idle_logout_timeout| != 0 is specified. | 141 // This field is only used if |idle_logout_timeout| != 0 is specified. |
| 142 optional int64 idle_logout_warning_duration = 2; | 142 optional int64 OBSOLETE_idle_logout_warning_duration = 2 [deprecated = true]; |
| 143 } | 143 } |
| 144 | 144 |
| 145 message ScreenSaverProto { | 145 message OBSOLETE_ScreenSaverProto { |
| 146 // Specifies the extension ID which is to be used as a screen saver on the | 146 // Specifies the extension ID which is to be used as a screen saver on the |
| 147 // login screen if no user activity is present. Only respected if the device | 147 // login screen if no user activity is present. Only respected if the device |
| 148 // is in RETAIL mode. | 148 // is in RETAIL mode. |
| 149 optional string screen_saver_extension_id = 1; | 149 optional string OBSOLETE_screen_saver_extension_id = 1 [deprecated = true]; |
| 150 | 150 |
| 151 // Specifies the timeout before the screen saver is activated. If this field | 151 // Specifies the timeout before the screen saver is activated. If this field |
| 152 // is omitted or set to 0, no screen-saver will be started. | 152 // is omitted or set to 0, no screen-saver will be started. |
| 153 // Measured in milliseconds. | 153 // Measured in milliseconds. |
| 154 optional int64 screen_saver_timeout = 2; | 154 optional int64 OBSOLETE_screen_saver_timeout = 2 [deprecated = true]; |
| 155 } | 155 } |
| 156 | 156 |
| 157 // Enterprise controls for auto-update behavior of Chrome OS. | 157 // Enterprise controls for auto-update behavior of Chrome OS. |
| 158 message AutoUpdateSettingsProto { | 158 message AutoUpdateSettingsProto { |
| 159 // True if we don't want the device to auto-update (target_version_prefix is | 159 // True if we don't want the device to auto-update (target_version_prefix is |
| 160 // ignored in this case). | 160 // ignored in this case). |
| 161 optional bool update_disabled = 1; | 161 optional bool update_disabled = 1; |
| 162 | 162 |
| 163 // Specifies the prefix of the target version we want the device to | 163 // Specifies the prefix of the target version we want the device to |
| 164 // update to, if it's on a older version. If the device is already on | 164 // update to, if it's on a older version. If the device is already on |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 219 // is being shown or a kiosk app session is in progress. This will change in | 219 // is being shown or a kiosk app session is in progress. This will change in |
| 220 // the future and the policy will always apply, regardless of whether a | 220 // the future and the policy will always apply, regardless of whether a |
| 221 // session of any particular type is in progress or not. | 221 // session of any particular type is in progress or not. |
| 222 optional bool reboot_after_update = 8; | 222 optional bool reboot_after_update = 8; |
| 223 | 223 |
| 224 // True if AU payloads may be shared with and consumed from other devices | 224 // True if AU payloads may be shared with and consumed from other devices |
| 225 // on the LAN, using p2p. False otherwise. | 225 // on the LAN, using p2p. False otherwise. |
| 226 optional bool p2p_enabled = 9 [default = false]; | 226 optional bool p2p_enabled = 9 [default = false]; |
| 227 } | 227 } |
| 228 | 228 |
| 229 message StartUpUrlsProto { | 229 message OBSOLETE_StartUpUrlsProto { |
| 230 // Specifies the URLs to be loaded on login to the anonymous account used if | 230 // Specifies the URLs to be loaded on login to the anonymous account used if |
| 231 // the device is in RETAIL mode. | 231 // the device is in RETAIL mode. |
| 232 repeated string start_up_urls = 1; | 232 repeated string OBSOLETE_start_up_urls = 1 [deprecated = true]; |
| 233 } | 233 } |
| 234 | 234 |
| 235 message SystemTimezoneProto { | 235 message SystemTimezoneProto { |
| 236 // Specifies an owner-determined timezone that applies to the login screen and | 236 // Specifies an owner-determined timezone that applies to the login screen and |
| 237 // all users. Valid values are listed in "timezone_settings.cc". Additionally, | 237 // all users. Valid values are listed in "timezone_settings.cc". Additionally, |
| 238 // timezones from the "IANA Time Zone Database" (e.g. listed on wikipedia) | 238 // timezones from the "IANA Time Zone Database" (e.g. listed on wikipedia) |
| 239 // that are equivalent to one of the timezones in "timezone_settings.cc" are | 239 // that are equivalent to one of the timezones in "timezone_settings.cc" are |
| 240 // valid. In case of an invalid value, the setting is still activated with a | 240 // valid. In case of an invalid value, the setting is still activated with a |
| 241 // fallback timezone (currently "GMT"). In case of an empty string or if no | 241 // fallback timezone (currently "GMT"). In case of an empty string or if no |
| 242 // value is provided, the timezone device setting is inactive. In that case, | 242 // value is provided, the timezone device setting is inactive. In that case, |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 590 optional DeviceProxySettingsProto device_proxy_settings = 4; | 590 optional DeviceProxySettingsProto device_proxy_settings = 4; |
| 591 optional CameraEnabledProto camera_enabled = 5; | 591 optional CameraEnabledProto camera_enabled = 5; |
| 592 optional ShowUserNamesOnSigninProto show_user_names = 6; | 592 optional ShowUserNamesOnSigninProto show_user_names = 6; |
| 593 optional DataRoamingEnabledProto data_roaming_enabled = 7; | 593 optional DataRoamingEnabledProto data_roaming_enabled = 7; |
| 594 optional AllowNewUsersProto allow_new_users = 8; | 594 optional AllowNewUsersProto allow_new_users = 8; |
| 595 optional MetricsEnabledProto metrics_enabled = 9; | 595 optional MetricsEnabledProto metrics_enabled = 9; |
| 596 optional ReleaseChannelProto release_channel = 10; | 596 optional ReleaseChannelProto release_channel = 10; |
| 597 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; | 597 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; |
| 598 optional DeviceReportingProto device_reporting = 12; | 598 optional DeviceReportingProto device_reporting = 12; |
| 599 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; | 599 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; |
| 600 optional AppPackProto app_pack = 14; | 600 optional OBSOLETE_AppPackProto app_pack = 14 [deprecated = true]; |
| 601 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; | 601 optional OBSOLETE_ForcedLogoutTimeoutsProto forced_logout_timeouts = 15 |
| 602 optional ScreenSaverProto login_screen_saver = 16; | 602 [deprecated = true]; |
| 603 optional OBSOLETE_ScreenSaverProto login_screen_saver = 16 | |
| 604 [deprecated = true]; | |
| 603 optional AutoUpdateSettingsProto auto_update_settings = 17; | 605 optional AutoUpdateSettingsProto auto_update_settings = 17; |
| 604 optional StartUpUrlsProto start_up_urls = 18; | 606 optional OBSOLETE_StartUpUrlsProto start_up_urls = 18 [deprecated = true]; |
| 605 optional PinnedAppsProto pinned_apps = 19; | 607 optional PinnedAppsProto pinned_apps = 19 [deprecated = true]; |
|
bartfab (slow)
2014/12/02 21:25:27
Nit: Add OBSOLETE_.
rkc
2014/12/04 19:50:07
Ditto, and removed the [deprecated = true].
bartfab (slow)
2014/12/15 16:08:40
As above, this is used for retail mode only.
rkc
2014/12/15 20:45:57
Done.
| |
| 606 optional SystemTimezoneProto system_timezone = 20; | 608 optional SystemTimezoneProto system_timezone = 20; |
| 607 optional DeviceLocalAccountsProto device_local_accounts = 21; | 609 optional DeviceLocalAccountsProto device_local_accounts = 21; |
| 608 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; | 610 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; |
| 609 optional StartUpFlagsProto start_up_flags = 23; | 611 optional StartUpFlagsProto start_up_flags = 23; |
| 610 optional UptimeLimitProto uptime_limit = 24; | 612 optional UptimeLimitProto uptime_limit = 24; |
| 611 optional VariationsParameterProto variations_parameter = 25; | 613 optional VariationsParameterProto variations_parameter = 25; |
| 612 optional AttestationSettingsProto attestation_settings = 26; | 614 optional AttestationSettingsProto attestation_settings = 26; |
| 613 optional AccessibilitySettingsProto accessibility_settings = 27; | 615 optional AccessibilitySettingsProto accessibility_settings = 27; |
| 614 optional SupervisedUsersSettingsProto supervised_users_settings = 28; | 616 optional SupervisedUsersSettingsProto supervised_users_settings = 28; |
| 615 optional LoginScreenPowerManagementProto login_screen_power_management = 29; | 617 optional LoginScreenPowerManagementProto login_screen_power_management = 29; |
| 616 optional SystemUse24HourClockProto use_24hour_clock = 30; | 618 optional SystemUse24HourClockProto use_24hour_clock = 30; |
| 617 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; | 619 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; |
| 618 optional SystemSettingsProto system_settings = 32; | 620 optional SystemSettingsProto system_settings = 32; |
| 619 optional SAMLSettingsProto saml_settings = 33; | 621 optional SAMLSettingsProto saml_settings = 33; |
| 620 } | 622 } |
| OLD | NEW |