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

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

Issue 23460030: Clean up device policy definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 57 }
58 58
59 message DeviceProxySettingsProto { 59 message DeviceProxySettingsProto {
60 // One of "direct", "auto_detect", "pac_script", "fixed_servers", "system" 60 // One of "direct", "auto_detect", "pac_script", "fixed_servers", "system"
61 optional string proxy_mode = 1; 61 optional string proxy_mode = 1;
62 optional string proxy_server = 2; 62 optional string proxy_server = 2;
63 optional string proxy_pac_url = 3; 63 optional string proxy_pac_url = 3;
64 optional string proxy_bypass_list = 4; 64 optional string proxy_bypass_list = 4;
65 } 65 }
66 66
67 // This was added to the protobuf definition but never implemented. Chrome can
68 // meanwhile lock down access to media devices via a user policy, so the
69 // device-level setting is deprecated for good.
67 message CameraEnabledProto { 70 message CameraEnabledProto {
68 optional bool camera_enabled = 1; 71 optional bool camera_enabled = 1;
69 } 72 }
70 73
71 message MetricsEnabledProto { 74 message MetricsEnabledProto {
72 optional bool metrics_enabled = 1; 75 optional bool metrics_enabled = 1;
73 } 76 }
74 77
75 message ReleaseChannelProto { 78 message ReleaseChannelProto {
76 // One of "stable-channel", "beta-channel", or "dev-channel" 79 // One of "stable-channel", "beta-channel", or "dev-channel"
(...skipping 23 matching lines...) Expand all
100 // Determines whether users should be treated as ephemeral. In ephemeral users 103 // Determines whether users should be treated as ephemeral. In ephemeral users
101 // 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
102 // instead such that upon logout all user state is discarded. 105 // instead such that upon logout all user state is discarded.
103 optional bool ephemeral_users_enabled = 1; 106 optional bool ephemeral_users_enabled = 1;
104 } 107 }
105 108
106 // Details of an extension to install as part of the AppPack. 109 // Details of an extension to install as part of the AppPack.
107 message AppPackEntryProto { 110 message AppPackEntryProto {
108 optional string extension_id = 1; 111 optional string extension_id = 1;
109 optional string update_url = 2; 112 optional string update_url = 2;
110 optional bool online_only = 3; 113
114 // This field was added but never used and there are no plans to support it
115 // eventually either.
116 optional bool OBSOLETE_online_only = 3 [deprecated = true];
111 } 117 }
112 118
113 message AppPackProto { 119 message AppPackProto {
114 // List of extensions to install as part of the AppPack. 120 // List of extensions to install as part of the AppPack.
115 repeated AppPackEntryProto app_pack = 1; 121 repeated AppPackEntryProto app_pack = 1;
116 } 122 }
117 123
118 // 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
119 // 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
120 // controlled through user policy. 126 // controlled through user policy.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 optional bool use_24hour_clock = 1; 252 optional bool use_24hour_clock = 1;
247 } 253 }
248 254
249 // Parameters for Kiosk App device-local accounts. 255 // Parameters for Kiosk App device-local accounts.
250 message KioskAppInfoProto { 256 message KioskAppInfoProto {
251 // Indicates the Kiosk App for the corresponding device-local account. The 257 // Indicates the Kiosk App for the corresponding device-local account. The
252 // string value should be a valid 32-character Chrome App identifier and 258 // string value should be a valid 32-character Chrome App identifier and
253 // specifies the Kiosk App to download and run. 259 // specifies the Kiosk App to download and run.
254 optional string app_id = 1; 260 optional string app_id = 1;
255 261
256 // Optional extension update URL to download the Kiosk App package from. If 262 // Obsolete: Kiosk Apps can only be installed from the Chrome Web Store.
257 // not specified, the app will be downloaded from the standard Chrome Web 263 optional string OBSOLETE_update_url = 2 [deprecated = true];
258 // Store update URL.
259 optional string update_url = 2;
260 } 264 }
261 265
262 // Describes a single device-local account. 266 // Describes a single device-local account.
263 message DeviceLocalAccountInfoProto { 267 message DeviceLocalAccountInfoProto {
264 // Deprecated: Account identifier for a public session device-local account. 268 // Deprecated: Account identifier for a public session device-local account.
265 // Old code didn't have the |type| field, so it can't handle new types of 269 // Old code didn't have the |type| field, so it can't handle new types of
266 // device-local accounts gracefully (i.e. ignoring unsupported types). New 270 // device-local accounts gracefully (i.e. ignoring unsupported types). New
267 // code should instead set type to ACCOUNT_TYPE_PUBLIC_SESSION and write the 271 // code should instead set type to ACCOUNT_TYPE_PUBLIC_SESSION and write the
268 // identifier to the |account_id| field below. If the |type| field is present, 272 // identifier to the |account_id| field below. If the |type| field is present,
269 // |deprecated_public_session_id| will be ignored. 273 // |deprecated_public_session_id| will be ignored.
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // } 528 // }
525 // } 529 // }
526 optional string login_screen_power_management = 1; 530 optional string login_screen_power_management = 1;
527 } 531 }
528 532
529 message ChromeDeviceSettingsProto { 533 message ChromeDeviceSettingsProto {
530 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 534 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
531 optional UserWhitelistProto user_whitelist = 2; 535 optional UserWhitelistProto user_whitelist = 2;
532 optional GuestModeEnabledProto guest_mode_enabled = 3; 536 optional GuestModeEnabledProto guest_mode_enabled = 3;
533 optional DeviceProxySettingsProto device_proxy_settings = 4; 537 optional DeviceProxySettingsProto device_proxy_settings = 4;
534 optional CameraEnabledProto camera_enabled = 5; 538 optional CameraEnabledProto OBSOLETE_camera_enabled = 5 [deprecated = true];
535 optional ShowUserNamesOnSigninProto show_user_names = 6; 539 optional ShowUserNamesOnSigninProto show_user_names = 6;
536 optional DataRoamingEnabledProto data_roaming_enabled = 7; 540 optional DataRoamingEnabledProto data_roaming_enabled = 7;
537 optional AllowNewUsersProto allow_new_users = 8; 541 optional AllowNewUsersProto allow_new_users = 8;
538 optional MetricsEnabledProto metrics_enabled = 9; 542 optional MetricsEnabledProto metrics_enabled = 9;
539 optional ReleaseChannelProto release_channel = 10; 543 optional ReleaseChannelProto release_channel = 10;
540 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 544 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
541 optional DeviceReportingProto device_reporting = 12; 545 optional DeviceReportingProto device_reporting = 12;
542 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 546 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
543 optional AppPackProto app_pack = 14; 547 optional AppPackProto app_pack = 14;
544 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; 548 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
545 optional ScreenSaverProto login_screen_saver = 16; 549 optional ScreenSaverProto login_screen_saver = 16;
546 optional AutoUpdateSettingsProto auto_update_settings = 17; 550 optional AutoUpdateSettingsProto auto_update_settings = 17;
547 optional StartUpUrlsProto start_up_urls = 18; 551 optional StartUpUrlsProto start_up_urls = 18;
548 optional PinnedAppsProto pinned_apps = 19; 552 optional PinnedAppsProto pinned_apps = 19;
549 optional SystemTimezoneProto system_timezone = 20; 553 optional SystemTimezoneProto system_timezone = 20;
550 optional DeviceLocalAccountsProto device_local_accounts = 21; 554 optional DeviceLocalAccountsProto device_local_accounts = 21;
551 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; 555 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22;
552 optional StartUpFlagsProto start_up_flags = 23; 556 optional StartUpFlagsProto start_up_flags = 23;
553 optional UptimeLimitProto uptime_limit = 24; 557 optional UptimeLimitProto uptime_limit = 24;
554 optional VariationsParameterProto variations_parameter = 25; 558 optional VariationsParameterProto variations_parameter = 25;
555 optional AttestationSettingsProto attestation_settings = 26; 559 optional AttestationSettingsProto attestation_settings = 26;
556 optional AccessibilitySettingsProto accessibility_settings = 27; 560 optional AccessibilitySettingsProto accessibility_settings = 27;
557 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 561 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
558 optional LoginScreenPowerManagementProto login_screen_power_management = 29; 562 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
559 optional SystemUse24HourClockProto use_24hour_clock = 30; 563 optional SystemUse24HourClockProto use_24hour_clock = 30;
560 } 564 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698