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

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

Issue 11358113: Add device policy definition for local accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix oversights. Created 8 years, 1 month 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // that are equivalent to one of the timezones in "timezone_settings.cc" are 213 // that are equivalent to one of the timezones in "timezone_settings.cc" are
214 // valid. In case of an invalid value (e.g. the empty string), the setting is 214 // valid. In case of an invalid value (e.g. the empty string), the setting is
215 // still activated with a fallback timezone (currently "GMT"). 215 // still activated with a fallback timezone (currently "GMT").
216 // Only if no value is provided, the timezone device setting is inactive. In 216 // Only if no value is provided, the timezone device setting is inactive. In
217 // that case, the currently active timezone will remain in use however users 217 // that case, the currently active timezone will remain in use however users
218 // can change the timezone and the change is persistent. Thus a change by one 218 // can change the timezone and the change is persistent. Thus a change by one
219 // user affects the login-screen and all other users. 219 // user affects the login-screen and all other users.
220 optional string timezone = 1; 220 optional string timezone = 1;
221 } 221 }
222 222
223 // Describes a single device-local account.
224 message DeviceLocalAccountInfoProto {
225 // Identifier for the device-local account. Account identifiers loosely follow
226 // the conventions for email addresses as specified by RFC 5322, e.g. local
227 // (user name) and domain parts, separated by the '@' character.
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),
230 // the local part may contain any characters other than '@'.
231 optional string id = 1;
232 }
233
234 message DeviceLocalAccountsProto {
235 // The list of device-local accounts (i.e. accounts without an associated
236 // cloud-backed profile) that are available on the device.
237 repeated DeviceLocalAccountInfoProto account = 1;
238 }
239
223 message ChromeDeviceSettingsProto { 240 message ChromeDeviceSettingsProto {
224 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 241 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
225 optional UserWhitelistProto user_whitelist = 2; 242 optional UserWhitelistProto user_whitelist = 2;
226 optional GuestModeEnabledProto guest_mode_enabled = 3; 243 optional GuestModeEnabledProto guest_mode_enabled = 3;
227 optional DeviceProxySettingsProto device_proxy_settings = 4; 244 optional DeviceProxySettingsProto device_proxy_settings = 4;
228 optional CameraEnabledProto camera_enabled = 5; 245 optional CameraEnabledProto camera_enabled = 5;
229 optional ShowUserNamesOnSigninProto show_user_names = 6; 246 optional ShowUserNamesOnSigninProto show_user_names = 6;
230 optional DataRoamingEnabledProto data_roaming_enabled = 7; 247 optional DataRoamingEnabledProto data_roaming_enabled = 7;
231 optional AllowNewUsersProto allow_new_users = 8; 248 optional AllowNewUsersProto allow_new_users = 8;
232 optional MetricsEnabledProto metrics_enabled = 9; 249 optional MetricsEnabledProto metrics_enabled = 9;
233 optional ReleaseChannelProto release_channel = 10; 250 optional ReleaseChannelProto release_channel = 10;
234 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 251 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
235 optional DeviceReportingProto device_reporting = 12; 252 optional DeviceReportingProto device_reporting = 12;
236 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 253 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
237 optional AppPackProto app_pack = 14; 254 optional AppPackProto app_pack = 14;
238 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; 255 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
239 optional ScreenSaverProto login_screen_saver = 16; 256 optional ScreenSaverProto login_screen_saver = 16;
240 optional AutoUpdateSettingsProto auto_update_settings = 17; 257 optional AutoUpdateSettingsProto auto_update_settings = 17;
241 optional StartUpUrlsProto start_up_urls = 18; 258 optional StartUpUrlsProto start_up_urls = 18;
242 optional PinnedAppsProto pinned_apps = 19; 259 optional PinnedAppsProto pinned_apps = 19;
243 optional SystemTimezoneProto system_timezone = 20; 260 optional SystemTimezoneProto system_timezone = 20;
261 optional DeviceLocalAccountsProto device_local_accounts = 21;
244 } 262 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_policy_decoder_chromeos.cc ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698