OLD | NEW |
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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 } | 238 } |
239 | 239 |
240 // Describes a single device-local account. | 240 // Describes a single device-local account. |
241 message DeviceLocalAccountInfoProto { | 241 message DeviceLocalAccountInfoProto { |
242 // Deprecated: Account identifier for a public session device-local account. | 242 // Deprecated: Account identifier for a public session device-local account. |
243 // Old code didn't have the |type| field, so it can't handle new types of | 243 // Old code didn't have the |type| field, so it can't handle new types of |
244 // device-local accounts gracefully (i.e. ignoring unsupported types). New | 244 // device-local accounts gracefully (i.e. ignoring unsupported types). New |
245 // code should instead set type to ACCOUNT_TYPE_PUBLIC_SESSION and write the | 245 // code should instead set type to ACCOUNT_TYPE_PUBLIC_SESSION and write the |
246 // identifier to the |account_id| field below. If the |type| field is present, | 246 // identifier to the |account_id| field below. If the |type| field is present, |
247 // |deprecated_public_session_id| will be ignored. | 247 // |deprecated_public_session_id| will be ignored. |
248 // TODO(mnissler): Rename this field to indicate it's deprecated. | 248 optional string deprecated_public_session_id = 1; |
249 optional string id = 1; | |
250 | 249 |
251 // Identifier for the device-local account. This is an opaque identifier that | 250 // Identifier for the device-local account. This is an opaque identifier that |
252 // is used to distinguish different device-local accounts configured. All | 251 // is used to distinguish different device-local accounts configured. All |
253 // configured accounts on a device must have unique identifiers. | 252 // configured accounts on a device must have unique identifiers. |
254 optional string account_id = 2; | 253 optional string account_id = 2; |
255 | 254 |
256 // Indicates the type of device-local account. | 255 // Indicates the type of device-local account. |
257 enum AccountType { | 256 enum AccountType { |
258 // A login-less, policy-configured browsing session. | 257 // A login-less, policy-configured browsing session. |
259 ACCOUNT_TYPE_PUBLIC_SESSION = 0; | 258 ACCOUNT_TYPE_PUBLIC_SESSION = 0; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 optional StartUpUrlsProto start_up_urls = 18; | 349 optional StartUpUrlsProto start_up_urls = 18; |
351 optional PinnedAppsProto pinned_apps = 19; | 350 optional PinnedAppsProto pinned_apps = 19; |
352 optional SystemTimezoneProto system_timezone = 20; | 351 optional SystemTimezoneProto system_timezone = 20; |
353 optional DeviceLocalAccountsProto device_local_accounts = 21; | 352 optional DeviceLocalAccountsProto device_local_accounts = 21; |
354 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; | 353 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; |
355 optional StartUpFlagsProto start_up_flags = 23; | 354 optional StartUpFlagsProto start_up_flags = 23; |
356 optional UptimeLimitProto uptime_limit = 24; | 355 optional UptimeLimitProto uptime_limit = 24; |
357 optional VariationsParameterProto variations_parameter = 25; | 356 optional VariationsParameterProto variations_parameter = 25; |
358 optional AttestationSettingsProto attestation_settings = 26; | 357 optional AttestationSettingsProto attestation_settings = 26; |
359 } | 358 } |
OLD | NEW |