diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-01 15:01:07 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-01 15:01:07 +0000 |
commit | c2a9462797baf14a1c0ec1b1233f557aadbf3ccc (patch) | |
tree | 1a70b20873bfb4ebbfcca311b56a31b07ef2c411 /chrome/app | |
parent | a975838f47e5e00c5ef234b4b2e7bf0a3b90922c (diff) | |
download | chromium_src-c2a9462797baf14a1c0ec1b1233f557aadbf3ccc.zip chromium_src-c2a9462797baf14a1c0ec1b1233f557aadbf3ccc.tar.gz chromium_src-c2a9462797baf14a1c0ec1b1233f557aadbf3ccc.tar.bz2 |
Introduce a device setting controlling allowed connection types for AU.
Currently, the updater just updates on WiFi and Ethernet and we'd like
to be more flexible in what connection types we allow updates on. This
only introduces the setting (which also allows policy control). A
follow-up change on the Chrome OS side is needed to wire up
update_engine.
BUG=chromium-os:31099
TEST=Compiles and passes tests, no user visible changes (yet).
Review URL: https://chromiumcodereview.appspot.com/10388254
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/policy/policy_templates.json | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index 6fa181b..6fdd9ef 100644 --- a/chrome/app/policy/policy_templates.json +++ b/chrome/app/policy/policy_templates.json @@ -112,7 +112,7 @@ # persistent IDs for all fields (but not for groups!) are needed. These are # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, # because doing so would break the deployed wire format! -# For your editing convenience: highest ID currently used: 144 +# For your editing convenience: highest ID currently used: 146 # # Placeholders: # The following placeholder strings are automatically substituted: @@ -2583,6 +2583,31 @@ ''' }, { + 'name': 'DeviceUpdateScatterFactor', + 'type': 'int', + 'supported_on': ['chrome_os:20-'], + 'device_only': True, + 'features': {'dynamic_refresh': True}, + 'example_value': 7200, + 'id': 145, + 'caption': '''Auto update scatter factor''', + 'desc': '''Specifies the number of seconds up to which a device may randomly delay its download of an update from the time the update was first pushed out to the server. The device may wait a portion of this time in terms of wall-clock-time and the remaining portion in terms of the number of update checks. In any case, the scatter is upper bounded to a constant amount of time so that a device does not ever get stuck waiting to download an update forever.''' + }, + { + 'name': 'DeviceUpdateAllowedConnectionTypes', + 'type': 'list', + 'supported_on': ['chrome_os:21-'], + 'device_only': True, + 'features': {'dynamic_refresh': True}, + 'example_value': [ 'ethernet' ], + 'id': 146, + 'caption': '''Connection types allowed for updates''', + 'desc': ''' The types of connections that are OK to use for OS updates. OS updates potentially put heavy strain on the connection due to their size and may incur additional cost. Therefore, they are by default not enabled for connection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment. + + The recognized connection type identifiers are ethernet, wifi, wimax, bluetooth, cellular. + ''' + }, + { 'name': 'BackgroundModeEnabled', 'type': 'main', 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], |