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

Issue 8804020: Set onc_source UI data parameter when importing ONC. (Closed)

Created:
9 years ago by Mattias Nissler (ping if slow)
Modified:
9 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, eroman, davemoore+watch_chromium.org, Paweł Hajdan Jr., stevenjb+watch_chromium.org, mmenke
Visibility:
Public.

Description

Set onc_source UI data parameter when importing ONC. BUG=chromium-os:23124 TEST=Set up a policy-configured ONC network, observe that the network settings are locked down and the network cannot be removed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114622

Patch Set 1 #

Patch Set 2 : Handle "Recommended" dictionary entry properly. #

Total comments: 13

Patch Set 3 : Rebase, remove ONC data from ui data. #

Total comments: 17

Patch Set 4 : Address Ken's comments. #

Total comments: 6

Patch Set 5 : Address comments. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -276 lines) Patch
A chrome/browser/chromeos/cros/enum_mapper.h View 1 chunk +80 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/mock_network_library.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_library.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 4 5 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/network_parser.h View 1 2 2 chunks +2 lines, -63 lines 0 comments Download
M chrome/browser/chromeos/cros/network_ui_data.h View 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_ui_data.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.h View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.cc View 1 2 3 4 5 9 chunks +201 lines, -177 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser_unittest.cc View 1 2 3 4 5 10 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos.h View 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos_unittest.cc View 5 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater.cc View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/net_internals_ui.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Mattias Nissler (ping if slow)
This is based on Ken's ONC parsing refactoring CL. It's missing support for parsing cert- ...
9 years ago (2011-12-05 19:09:27 UTC) #1
pastarmovj
LGTM as far as the policy code goes.
9 years ago (2011-12-06 09:23:09 UTC) #2
Nikita (slow)
Refactoring CL was reverted due to clang errors.
9 years ago (2011-12-06 09:35:16 UTC) #3
Mattias Nissler (ping if slow)
On 2011/12/06 09:35:16, Nikita Kostylev wrote: > Refactoring CL was reverted due to clang errors. ...
9 years ago (2011-12-06 11:59:19 UTC) #4
kmixter1
I'm not sure I follow the intention of ui_data here. From what I see at ...
9 years ago (2011-12-06 12:52:37 UTC) #5
Mattias Nissler (ping if slow)
http://codereview.chromium.org/8804020/diff/3001/chrome/browser/chromeos/cros/network_ui_data.h File chrome/browser/chromeos/cros/network_ui_data.h (right): http://codereview.chromium.org/8804020/diff/3001/chrome/browser/chromeos/cros/network_ui_data.h#newcode78 chrome/browser/chromeos/cros/network_ui_data.h:78: static const char kPropertyVPNCaCertNss[]; On 2011/12/06 12:52:37, kmixter1 wrote: ...
9 years ago (2011-12-06 13:37:59 UTC) #6
stevenjb
I'm not following closely enough to have much perspective on the names or the meaning ...
9 years ago (2011-12-06 22:22:53 UTC) #7
Mattias Nissler (ping if slow)
On 2011/12/06 22:22:53, stevenjb wrote: > I'm not following closely enough to have much perspective ...
9 years ago (2011-12-07 19:10:47 UTC) #8
kmixter1
http://codereview.chromium.org/8804020/diff/3001/chrome/browser/chromeos/cros/onc_network_parser.cc File chrome/browser/chromeos/cros/onc_network_parser.cc (right): http://codereview.chromium.org/8804020/diff/3001/chrome/browser/chromeos/cros/onc_network_parser.cc#newcode657 chrome/browser/chromeos/cros/onc_network_parser.cc:657: !all_recommended && On 2011/12/06 13:37:59, Mattias Nissler wrote: > ...
9 years ago (2011-12-07 23:08:29 UTC) #9
stevenjb
OK, I'm working on getting up to speed on all of this. It's not clear ...
9 years ago (2011-12-08 02:26:35 UTC) #10
Mattias Nissler (ping if slow)
Ken, Steven, I've change this to not parse UI meta data in the ONC and ...
9 years ago (2011-12-12 23:49:23 UTC) #11
kmixter1
In your last comment you meant "store it in network_->onc()" right? Generally looks good but ...
9 years ago (2011-12-13 01:44:07 UTC) #12
Mattias Nissler (ping if slow)
PTAL. It would be awesome if we could get this settled till Thursday, since otherwise ...
9 years ago (2011-12-13 13:52:19 UTC) #13
Mattias Nissler (ping if slow)
PTAL. It would be awesome if we could get this settled till Thursday, since otherwise ...
9 years ago (2011-12-13 13:52:19 UTC) #14
kmixter1
lgtm Just nits from me at this point. Steven still needs to review. http://codereview.chromium.org/8804020/diff/14001/chrome/browser/chromeos/cros/network_ui_data.h File ...
9 years ago (2011-12-13 19:21:02 UTC) #15
stevenjb
lgtm http://codereview.chromium.org/8804020/diff/22001/chrome/browser/chromeos/cros/onc_network_parser.cc File chrome/browser/chromeos/cros/onc_network_parser.cc (right): http://codereview.chromium.org/8804020/diff/22001/chrome/browser/chromeos/cros/onc_network_parser.cc#newcode362 chrome/browser/chromeos/cros/onc_network_parser.cc:362: // The list of Recommended key is only ...
9 years ago (2011-12-14 00:27:38 UTC) #16
Mattias Nissler (ping if slow)
It turns out that storing the ONC dictionary in the network object doesn't work well, ...
9 years ago (2011-12-14 20:46:37 UTC) #17
kmixter1
9 years ago (2011-12-14 22:17:39 UTC) #18
lgtm

Powered by Google App Engine
This is Rietveld 408576698