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

Issue 427903004: Support Managed NetworkState format dictionaries for controlled settings. (Closed)

Created:
6 years, 4 months ago by stevenjb
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, nkostylev+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Support Managed NetworkState format dictionaries for controlled settings. BUG=279351 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288145

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 57

Patch Set 4 : Feedback #

Total comments: 4

Patch Set 5 : Fix Managed Properties Dict #

Total comments: 14

Patch Set 6 : Don't use NetworkPropertyUIData to generate Managed dictionaries #

Total comments: 17

Patch Set 7 : ONC fixes #

Total comments: 14

Patch Set 8 : More ONC fixes #

Total comments: 14

Patch Set 9 : More feedback #

Patch Set 10 : Set SharedSetting correctly #

Total comments: 6

Patch Set 11 : Rebase + changed to efective test for Editable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -289 lines) Patch
M chrome/browser/resources/options/chromeos/internet_detail.html View 5 chunks +5 lines, -20 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 5 6 7 8 9 10 24 chunks +251 lines, -181 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 6 7 8 9 15 chunks +130 lines, -88 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
stevenjb
I kept this small(ish) because some of the changes are subtle, so there is a ...
6 years, 4 months ago (2014-07-29 23:21:11 UTC) #1
pneubeck (no reviews)
the policy parts are a bit tricky. I reviewed only the policy, autoconnect and eap.identity ...
6 years, 4 months ago (2014-07-30 20:12:46 UTC) #2
stevenjb
https://codereview.chromium.org/427903004/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (left): https://codereview.chromium.org/427903004/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js#oldcode453 chrome/browser/resources/options/chromeos/internet_detail.js:453: (this.wireless && !this.showStaticIPConfig) || this.vpn); On 2014/07/29 23:21:11, stevenjb ...
6 years, 4 months ago (2014-07-30 21:57:48 UTC) #3
stevenjb
PTAL
6 years, 4 months ago (2014-07-30 21:57:58 UTC) #4
armansito
https://codereview.chromium.org/427903004/diff/60001/chrome/browser/chromeos/options/network_property_ui_data.h File chrome/browser/chromeos/options/network_property_ui_data.h (right): https://codereview.chromium.org/427903004/diff/60001/chrome/browser/chromeos/options/network_property_ui_data.h#newcode41 chrome/browser/chromeos/options/network_property_ui_data.h:41: // a temporary helper method for the internet_options_handler.cc migraiton. ...
6 years, 4 months ago (2014-07-31 19:15:46 UTC) #5
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode474 chrome/browser/resources/options/chromeos/internet_detail.js:474: if (effective != 'Unmanaged') On 2014/07/30 21:57:47, stevenjb wrote: ...
6 years, 4 months ago (2014-07-31 20:29:37 UTC) #6
stevenjb
PTAL https://codereview.chromium.org/427903004/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode474 chrome/browser/resources/options/chromeos/internet_detail.js:474: if (effective != 'Unmanaged') On 2014/07/31 20:29:36, pneubeck ...
6 years, 4 months ago (2014-08-01 00:53:41 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (right): https://codereview.chromium.org/427903004/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#newcode1345 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:1345: if (!auto_connect_ui_data.IsManaged() && On 2014/08/01 00:53:41, stevenjb wrote: > ...
6 years, 4 months ago (2014-08-01 16:09:08 UTC) #8
stevenjb
https://codereview.chromium.org/427903004/diff/80001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/80001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode486 chrome/browser/resources/options/chromeos/internet_detail.js:486: event.value.recommendedValue = propData[effective]; On 2014/08/01 16:09:08, pneubeck wrote: > ...
6 years, 4 months ago (2014-08-01 17:07:35 UTC) #9
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/80001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (right): https://codereview.chromium.org/427903004/diff/80001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#newcode329 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:329: ::onc::ONCSource recommended_source, On 2014/08/01 17:07:35, stevenjb wrote: > On ...
6 years, 4 months ago (2014-08-01 17:18:49 UTC) #10
stevenjb
OK, I removed the NetworkUIData dependency for the Managed dictionaries and re-factored the logic. Hopefully ...
6 years, 4 months ago (2014-08-05 23:51:56 UTC) #11
pneubeck2
https://codereview.chromium.org/427903004/diff/80001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/80001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode486 chrome/browser/resources/options/chromeos/internet_detail.js:486: event.value.recommendedValue = propData[effective]; > If User policy is recommended ...
6 years, 4 months ago (2014-08-06 07:13:08 UTC) #12
stevenjb
PTAL https://codereview.chromium.org/427903004/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode476 chrome/browser/resources/options/chromeos/internet_detail.js:476: if (activeValue != undefined) On 2014/08/06 07:13:07, pneubeck2 ...
6 years, 4 months ago (2014-08-06 16:29:44 UTC) #13
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode476 chrome/browser/resources/options/chromeos/internet_detail.js:476: if (activeValue != undefined) On 2014/08/06 16:29:43, stevenjb wrote: ...
6 years, 4 months ago (2014-08-06 17:37:35 UTC) #14
stevenjb
PTAL https://codereview.chromium.org/427903004/diff/140001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/140001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode478 chrome/browser/resources/options/chromeos/internet_detail.js:478: if (userValue != activeValue) { On 2014/08/06 17:37:35, ...
6 years, 4 months ago (2014-08-06 19:17:04 UTC) #15
pneubeck (no reviews)
lgtm with the few remaining comments. At some patchset I reviewed already the other parts. ...
6 years, 4 months ago (2014-08-06 19:52:06 UTC) #16
stevenjb
https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode479 chrome/browser/resources/options/chromeos/internet_detail.js:479: // Otherwise if an effective policy is set then ...
6 years, 4 months ago (2014-08-06 20:22:52 UTC) #17
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode488 chrome/browser/resources/options/chromeos/internet_detail.js:488: if (effective != 'UserSetting') On 2014/08/06 20:22:52, stevenjb wrote: ...
6 years, 4 months ago (2014-08-06 20:52:57 UTC) #18
stevenjb
https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode488 chrome/browser/resources/options/chromeos/internet_detail.js:488: if (effective != 'UserSetting') On 2014/08/06 20:52:57, pneubeck wrote: ...
6 years, 4 months ago (2014-08-06 21:20:28 UTC) #19
stevenjb
ptal https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode488 chrome/browser/resources/options/chromeos/internet_detail.js:488: if (effective != 'UserSetting') On 2014/08/06 21:20:28, stevenjb ...
6 years, 4 months ago (2014-08-06 21:43:19 UTC) #20
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/160001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode488 chrome/browser/resources/options/chromeos/internet_detail.js:488: if (effective != 'UserSetting') On 2014/08/06 21:43:19, stevenjb wrote: ...
6 years, 4 months ago (2014-08-07 17:28:58 UTC) #21
pneubeck (no reviews)
6 years, 4 months ago (2014-08-07 17:28:59 UTC) #22
stevenjb
https://codereview.chromium.org/427903004/diff/200001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/200001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode482 chrome/browser/resources/options/chromeos/internet_detail.js:482: if (effective != 'UserSetting') So, just to confirm, this ...
6 years, 4 months ago (2014-08-07 17:39:30 UTC) #23
pneubeck (no reviews)
https://codereview.chromium.org/427903004/diff/200001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/200001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode482 chrome/browser/resources/options/chromeos/internet_detail.js:482: if (effective != 'UserSetting') On 2014/08/07 17:39:30, stevenjb wrote: ...
6 years, 4 months ago (2014-08-07 17:41:05 UTC) #24
stevenjb
https://codereview.chromium.org/427903004/diff/200001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/427903004/diff/200001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode482 chrome/browser/resources/options/chromeos/internet_detail.js:482: if (effective != 'UserSetting') On 2014/08/07 17:41:05, pneubeck wrote: ...
6 years, 4 months ago (2014-08-07 17:44:53 UTC) #25
pneubeck (no reviews)
lgtm
6 years, 4 months ago (2014-08-07 17:47:54 UTC) #26
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 4 months ago (2014-08-07 18:10:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/427903004/220001
6 years, 4 months ago (2014-08-07 18:17:29 UTC) #28
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 21:35:30 UTC) #29
Message was sent while issue was closed.
Change committed as 288145

Powered by Google App Engine
This is Rietveld 408576698