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

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

Issue 10388254: Introduce a device setting controlling allowed connection types for AU. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add VPN to connection types. Created 8 years, 7 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 optional string target_version_display_name = 3; 175 optional string target_version_display_name = 3;
176 176
177 // Specifies the number of seconds up to which a device may randomly 177 // Specifies the number of seconds up to which a device may randomly
178 // delay its download of an update from the time the update was first pushed 178 // delay its download of an update from the time the update was first pushed
179 // out to the server. The device may wait a portion of this time in terms 179 // out to the server. The device may wait a portion of this time in terms
180 // of wall-clock-time and the remaining portion in terms of the number of 180 // of wall-clock-time and the remaining portion in terms of the number of
181 // update checks. In any case, the scatter is upper bounded to a constant 181 // update checks. In any case, the scatter is upper bounded to a constant
182 // amount of time so that a device does not ever get stuck waiting to download 182 // amount of time so that a device does not ever get stuck waiting to download
183 // an update forever. 183 // an update forever.
184 optional int64 scatter_factor_in_seconds = 4; 184 optional int64 scatter_factor_in_seconds = 4;
185
186 // Enumerates network connection types.
187 enum ConnectionType {
188 CONNECTION_TYPE_ETHERNET = 0;
189 CONNECTION_TYPE_WIFI = 1;
190 CONNECTION_TYPE_WIMAX = 2;
191 CONNECTION_TYPE_BLUETOOTH = 3;
192 CONNECTION_TYPE_CELLULAR = 4;
193 CONNECTION_TYPE_VPN = 5;
194 }
195
196 // The types of connections that are OK to run updates over. OS updates
197 // potentially put heavy strain on the connection due to their size and may
198 // incur additional cost. Therefore, they are by default not enabled for
199 // connection types that are considered expensive, which include WiMax,
200 // Bluetooth and Cellular at the moment.
201 repeated ConnectionType allowed_connection_types = 5;
185 } 202 }
186 203
187 message StartUpUrlsProto { 204 message StartUpUrlsProto {
188 // Specifies the URLs to be loaded on login to the anonymous account used if 205 // Specifies the URLs to be loaded on login to the anonymous account used if
189 // the device is in RETAIL mode. 206 // the device is in RETAIL mode.
190 repeated string start_up_urls = 1; 207 repeated string start_up_urls = 1;
191 } 208 }
192 209
193 message ChromeDeviceSettingsProto { 210 message ChromeDeviceSettingsProto {
194 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 211 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
195 optional UserWhitelistProto user_whitelist = 2; 212 optional UserWhitelistProto user_whitelist = 2;
196 optional GuestModeEnabledProto guest_mode_enabled = 3; 213 optional GuestModeEnabledProto guest_mode_enabled = 3;
197 optional DeviceProxySettingsProto device_proxy_settings = 4; 214 optional DeviceProxySettingsProto device_proxy_settings = 4;
198 optional CameraEnabledProto camera_enabled = 5; 215 optional CameraEnabledProto camera_enabled = 5;
199 optional ShowUserNamesOnSigninProto show_user_names = 6; 216 optional ShowUserNamesOnSigninProto show_user_names = 6;
200 optional DataRoamingEnabledProto data_roaming_enabled = 7; 217 optional DataRoamingEnabledProto data_roaming_enabled = 7;
201 optional AllowNewUsersProto allow_new_users = 8; 218 optional AllowNewUsersProto allow_new_users = 8;
202 optional MetricsEnabledProto metrics_enabled = 9; 219 optional MetricsEnabledProto metrics_enabled = 9;
203 optional ReleaseChannelProto release_channel = 10; 220 optional ReleaseChannelProto release_channel = 10;
204 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 221 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
205 optional DeviceReportingProto device_reporting = 12; 222 optional DeviceReportingProto device_reporting = 12;
206 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 223 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
207 optional AppPackProto app_pack = 14; 224 optional AppPackProto app_pack = 14;
208 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; 225 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
209 optional ScreenSaverProto login_screen_saver = 16; 226 optional ScreenSaverProto login_screen_saver = 16;
210 optional AutoUpdateSettingsProto auto_update_settings = 17; 227 optional AutoUpdateSettingsProto auto_update_settings = 17;
211 optional StartUpUrlsProto start_up_urls = 18; 228 optional StartUpUrlsProto start_up_urls = 18;
212 optional PinnedAppsProto pinned_apps = 19; 229 optional PinnedAppsProto pinned_apps = 19;
213 } 230 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698