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

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: Rebase and fix some bugs. Created 8 years, 6 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // target_version_prefix above. The target_version_prefix is the internal OS 171 // target_version_prefix above. The target_version_prefix is the internal OS
172 // version that external users normally are not aware of. This display_name 172 // version that external users normally are not aware of. This display_name
173 // can be used by the devices to display a message to end-users about the auto 173 // can be used by the devices to display a message to end-users about the auto
174 // update setting. 174 // update setting.
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 by 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 }
194
195 // The types of connections that are OK to use for OS updates. OS updates
196 // potentially put heavy strain on the connection due to their size and may
197 // incur additional cost. Therefore, they are by default not enabled for
198 // connection types that are considered expensive, which include WiMax,
199 // Bluetooth and Cellular at the moment.
200 repeated ConnectionType allowed_connection_types = 5;
185 } 201 }
186 202
187 message StartUpUrlsProto { 203 message StartUpUrlsProto {
188 // Specifies the URLs to be loaded on login to the anonymous account used if 204 // Specifies the URLs to be loaded on login to the anonymous account used if
189 // the device is in RETAIL mode. 205 // the device is in RETAIL mode.
190 repeated string start_up_urls = 1; 206 repeated string start_up_urls = 1;
191 } 207 }
192 208
193 message ChromeDeviceSettingsProto { 209 message ChromeDeviceSettingsProto {
194 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 210 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
195 optional UserWhitelistProto user_whitelist = 2; 211 optional UserWhitelistProto user_whitelist = 2;
196 optional GuestModeEnabledProto guest_mode_enabled = 3; 212 optional GuestModeEnabledProto guest_mode_enabled = 3;
197 optional DeviceProxySettingsProto device_proxy_settings = 4; 213 optional DeviceProxySettingsProto device_proxy_settings = 4;
198 optional CameraEnabledProto camera_enabled = 5; 214 optional CameraEnabledProto camera_enabled = 5;
199 optional ShowUserNamesOnSigninProto show_user_names = 6; 215 optional ShowUserNamesOnSigninProto show_user_names = 6;
200 optional DataRoamingEnabledProto data_roaming_enabled = 7; 216 optional DataRoamingEnabledProto data_roaming_enabled = 7;
201 optional AllowNewUsersProto allow_new_users = 8; 217 optional AllowNewUsersProto allow_new_users = 8;
202 optional MetricsEnabledProto metrics_enabled = 9; 218 optional MetricsEnabledProto metrics_enabled = 9;
203 optional ReleaseChannelProto release_channel = 10; 219 optional ReleaseChannelProto release_channel = 10;
204 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 220 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
205 optional DeviceReportingProto device_reporting = 12; 221 optional DeviceReportingProto device_reporting = 12;
206 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 222 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
207 optional AppPackProto app_pack = 14; 223 optional AppPackProto app_pack = 14;
208 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; 224 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
209 optional ScreenSaverProto login_screen_saver = 16; 225 optional ScreenSaverProto login_screen_saver = 16;
210 optional AutoUpdateSettingsProto auto_update_settings = 17; 226 optional AutoUpdateSettingsProto auto_update_settings = 17;
211 optional StartUpUrlsProto start_up_urls = 18; 227 optional StartUpUrlsProto start_up_urls = 18;
212 optional PinnedAppsProto pinned_apps = 19; 228 optional PinnedAppsProto pinned_apps = 19;
213 } 229 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_policy_cache.cc ('k') | chrome/test/functional/policy_test_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698