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

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

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove some notifications from FakeSessionManagerClient Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Policy-configured device-local accounts are on the same domain that the 228 // Policy-configured device-local accounts are on the same domain that the
229 // device is enrolled to. In contrast to RFC 5322 (which is more restrictive), 229 // device is enrolled to. In contrast to RFC 5322 (which is more restrictive),
230 // the local part may contain any characters other than '@'. 230 // the local part may contain any characters other than '@'.
231 optional string id = 1; 231 optional string id = 1;
232 } 232 }
233 233
234 message DeviceLocalAccountsProto { 234 message DeviceLocalAccountsProto {
235 // The list of device-local accounts (i.e. accounts without an associated 235 // The list of device-local accounts (i.e. accounts without an associated
236 // cloud-backed profile) that are available on the device. 236 // cloud-backed profile) that are available on the device.
237 repeated DeviceLocalAccountInfoProto account = 1; 237 repeated DeviceLocalAccountInfoProto account = 1;
238
239 // The identifier of the device-local account to which the device
240 // should be logged in automatically. Should be equal to one of the
241 // ids in DeviceLocalAccountInfoProto.
242 optional string auto_login_id = 2;
243
244 // The amount of time, in milliseconds, that should elapse at the signin
245 // screen without user interaction before automatically logging in.
246 optional int64 auto_login_delay = 3;
238 } 247 }
239 248
240 message AllowRedeemChromeOsRegistrationOffersProto { 249 message AllowRedeemChromeOsRegistrationOffersProto {
241 // Chrome OS Registration service provides way for chromeos device users 250 // Chrome OS Registration service provides way for chromeos device users
242 // to redeem electronic offers provided by service provider. 251 // to redeem electronic offers provided by service provider.
243 // This value determines if users are allowed to redeem offers through 252 // This value determines if users are allowed to redeem offers through
244 // Chrome OS Registration service. 253 // Chrome OS Registration service.
245 optional bool allow_redeem_offers = 1 [default = true]; 254 optional bool allow_redeem_offers = 1 [default = true];
246 } 255 }
247 256
248 message StartUpFlagsProto { 257 message StartUpFlagsProto {
249 // The list of flags to be applied to chrome on start-up (back up store for 258 // The list of flags to be applied to chrome on start-up (back up store for
250 // owner set flags in about:flags). 259 // owner set flags in about:flags).
251 repeated string flags = 1; 260 repeated string flags = 1;
252 } 261 }
253 262
263 message DeviceLocalAccountAutoLoginProto {
Mattias Nissler (ping if slow) 2013/03/12 10:08:01 This no longer used, please remove.
dconnelly 2013/03/12 10:43:31 Ugh, came back in during rebase :( Done.
264 // The identifier of the device-local account to which the device
265 // should be logged in automatically.
266 optional string id = 1;
267
268 // The amount of time that should elapse at the signin screen before
269 // automatically logging in.
270 optional int64 delay = 2;
271 }
272
254 message ChromeDeviceSettingsProto { 273 message ChromeDeviceSettingsProto {
255 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 274 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
256 optional UserWhitelistProto user_whitelist = 2; 275 optional UserWhitelistProto user_whitelist = 2;
257 optional GuestModeEnabledProto guest_mode_enabled = 3; 276 optional GuestModeEnabledProto guest_mode_enabled = 3;
258 optional DeviceProxySettingsProto device_proxy_settings = 4; 277 optional DeviceProxySettingsProto device_proxy_settings = 4;
259 optional CameraEnabledProto camera_enabled = 5; 278 optional CameraEnabledProto camera_enabled = 5;
260 optional ShowUserNamesOnSigninProto show_user_names = 6; 279 optional ShowUserNamesOnSigninProto show_user_names = 6;
261 optional DataRoamingEnabledProto data_roaming_enabled = 7; 280 optional DataRoamingEnabledProto data_roaming_enabled = 7;
262 optional AllowNewUsersProto allow_new_users = 8; 281 optional AllowNewUsersProto allow_new_users = 8;
263 optional MetricsEnabledProto metrics_enabled = 9; 282 optional MetricsEnabledProto metrics_enabled = 9;
264 optional ReleaseChannelProto release_channel = 10; 283 optional ReleaseChannelProto release_channel = 10;
265 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 284 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
266 optional DeviceReportingProto device_reporting = 12; 285 optional DeviceReportingProto device_reporting = 12;
267 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 286 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
268 optional AppPackProto app_pack = 14; 287 optional AppPackProto app_pack = 14;
269 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; 288 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
270 optional ScreenSaverProto login_screen_saver = 16; 289 optional ScreenSaverProto login_screen_saver = 16;
271 optional AutoUpdateSettingsProto auto_update_settings = 17; 290 optional AutoUpdateSettingsProto auto_update_settings = 17;
272 optional StartUpUrlsProto start_up_urls = 18; 291 optional StartUpUrlsProto start_up_urls = 18;
273 optional PinnedAppsProto pinned_apps = 19; 292 optional PinnedAppsProto pinned_apps = 19;
274 optional SystemTimezoneProto system_timezone = 20; 293 optional SystemTimezoneProto system_timezone = 20;
275 optional DeviceLocalAccountsProto device_local_accounts = 21; 294 optional DeviceLocalAccountsProto device_local_accounts = 21;
276 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; 295 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22;
277 optional StartUpFlagsProto start_up_flags = 23; 296 optional StartUpFlagsProto start_up_flags = 23;
297 optional DeviceLocalAccountAutoLoginProto device_local_account_auto_login = 24 ;
278 } 298 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698