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

Issue 10388254: Introduce a device setting controlling allowed connection types for AU. (Closed)

Created:
8 years, 7 months ago by Mattias Nissler (ping if slow)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, dennis_jeffrey, anantha, dyu1, Nirnimesh, Paul Stewart, Glenn Wilson, Sumit
Visibility:
Public.

Description

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). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140027

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add VPN to connection types. #

Total comments: 2

Patch Set 3 : rebase, drop vpn. #

Total comments: 7

Patch Set 4 : Address nits, rebase. #

Patch Set 5 : Rebase and fix some bugs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -24 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 2 chunks +26 lines, -1 line 0 comments Download
M chrome/browser/policy/device_policy_cache.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/device_policy_cache.cc View 1 2 3 4 5 chunks +72 lines, -22 lines 0 comments Download
M chrome/browser/policy/proto/chrome_device_policy.proto View 1 2 3 1 chunk +17 lines, -1 line 0 comments Download
M chrome/test/functional/policy_test_cases.py View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Mattias Nissler (ping if slow)
Here's a first stab at making a device setting for controlling the allowed connection types ...
8 years, 7 months ago (2012-05-23 18:57:39 UTC) #1
Mattias Nissler (ping if slow)
8 years, 7 months ago (2012-05-23 18:59:27 UTC) #2
pastarmovj
LGTM with two small nits/thoughts. Btw I saw you don't decode the policies in device_settings_provider. ...
8 years, 7 months ago (2012-05-23 19:20:40 UTC) #3
garnold
1 inline comment. General comments: (a) VPN is a virtual network interface, which (iiuc) could ...
8 years, 7 months ago (2012-05-23 22:41:43 UTC) #4
Mattias Nissler (ping if slow)
http://codereview.chromium.org/10388254/diff/8001/chrome/test/functional/policy_test_cases.py File chrome/test/functional/policy_test_cases.py (right): http://codereview.chromium.org/10388254/diff/8001/chrome/test/functional/policy_test_cases.py#newcode277 chrome/test/functional/policy_test_cases.py:277: 'DeviceUpdateAllowedConnectionTypes': (None, [ 'wifi' ], [], ['chromeos']), On 2012/05/23 ...
8 years, 7 months ago (2012-05-24 08:12:31 UTC) #5
Mattias Nissler (ping if slow)
On 2012/05/23 22:41:43, garnold wrote: > 1 inline comment. General comments: (a) VPN is a ...
8 years, 7 months ago (2012-05-24 08:12:39 UTC) #6
Mattias Nissler (ping if slow)
http://codereview.chromium.org/10388254/diff/1/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/10388254/diff/1/chrome/app/policy/policy_templates.json#newcode2586 chrome/app/policy/policy_templates.json:2586: 'name': 'DeviceUpdateScatterFactor', On 2012/05/23 19:20:40, pastarmovj wrote: > While ...
8 years, 7 months ago (2012-05-25 13:58:07 UTC) #7
Mattias Nissler (ping if slow)
Gilad, Don, are you OK to proceed with this version?
8 years, 6 months ago (2012-05-29 14:15:03 UTC) #8
garnold
I'm okay with this. Looks like we've omitted the VPN checkbox entirely---sounds fine, too, we ...
8 years, 6 months ago (2012-05-29 19:55:22 UTC) #9
Mattias Nissler (ping if slow)
+Jay for some of Gilad's comments. New version is up. Good to go? http://codereview.chromium.org/10388254/diff/16001/chrome/app/policy/policy_templates.json File ...
8 years, 6 months ago (2012-05-31 11:24:44 UTC) #10
garnold
+1 (how to mark it on the CL page?) http://codereview.chromium.org/10388254/diff/16001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/10388254/diff/16001/chrome/app/policy/policy_templates.json#newcode2594 chrome/app/policy/policy_templates.json:2594: ...
8 years, 6 months ago (2012-06-01 00:28:14 UTC) #11
Mattias Nissler (ping if slow)
Julian, I fixed this. Still looks good?
8 years, 6 months ago (2012-06-01 13:58:38 UTC) #12
pastarmovj
8 years, 6 months ago (2012-06-01 14:04:58 UTC) #13
Still Good. LGTM.

Powered by Google App Engine
This is Rietveld 408576698