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

Issue 8480003: Surface error messages from ONC parsing in about:policy. (Closed)

Created:
9 years, 1 month ago by Mattias Nissler (ping if slow)
Modified:
9 years, 1 month ago
Reviewers:
Joao da Silva, stevenjb
CC:
chromium-reviews, pam+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Paweł Hajdan Jr., kmixter1
Visibility:
Public.

Description

Surface error messages from ONC parsing in about:policy. BUG=chromium-os:19411 TEST=Configure network configuration policy that is broken and check about:policy Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109857

Patch Set 1 #

Total comments: 3

Patch Set 2 : Only compile unit test for chromium os. #

Total comments: 10

Patch Set 3 : Address comments, break out code gen / unit test changes. #

Total comments: 8

Patch Set 4 : Rebased version with password stripping. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -7 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.cc View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
A chrome/browser/policy/configuration_policy_handler_chromeos.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/policy/configuration_policy_handler_chromeos.cc View 1 2 3 1 chunk +123 lines, -0 lines 0 comments Download
A chrome/browser/policy/configuration_policy_handler_chromeos_unittest.cc View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_reader.cc View 1 2 3 1 chunk +1 line, -0 lines 1 comment Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Mattias Nissler (ping if slow)
Joao, here is some error-surfacing. Please review!
9 years, 1 month ago (2011-11-04 16:53:04 UTC) #1
Joao da Silva
Looks good but some tests might need updates. http://codereview.chromium.org/8480003/diff/1/chrome/browser/policy/configuration_policy_handler_chromeos.cc File chrome/browser/policy/configuration_policy_handler_chromeos.cc (right): http://codereview.chromium.org/8480003/diff/1/chrome/browser/policy/configuration_policy_handler_chromeos.cc#newcode25 chrome/browser/policy/configuration_policy_handler_chromeos.cc:25: if ...
9 years, 1 month ago (2011-11-04 17:44:24 UTC) #2
Mattias Nissler (ping if slow)
New version with comments addressed is up, PTAL! Thanks. http://codereview.chromium.org/8480003/diff/2001/chrome/browser/chromeos/cros/onc_network_parser.h File chrome/browser/chromeos/cros/onc_network_parser.h (right): http://codereview.chromium.org/8480003/diff/2001/chrome/browser/chromeos/cros/onc_network_parser.h#newcode55 chrome/browser/chromeos/cros/onc_network_parser.h:55: ...
9 years, 1 month ago (2011-11-07 10:48:44 UTC) #3
Joao da Silva
LGTM with nits http://codereview.chromium.org/8480003/diff/8001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8480003/diff/8001/chrome/app/generated_resources.grd#newcode4463 chrome/app/generated_resources.grd:4463: Network configuration failed to be parsed: ...
9 years, 1 month ago (2011-11-07 13:20:45 UTC) #4
Mattias Nissler (ping if slow)
OK, ready for another round. Adding Steven for the OncNetworkParser change and Ken FYI. http://codereview.chromium.org/8480003/diff/8001/chrome/app/generated_resources.grd ...
9 years, 1 month ago (2011-11-11 14:57:02 UTC) #5
Joao da Silva
LGTM. Notice that the win build linker failed missing some JSON symbols. http://codereview.chromium.org/8480003/diff/12001/chrome/browser/policy/configuration_policy_reader.cc File chrome/browser/policy/configuration_policy_reader.cc ...
9 years, 1 month ago (2011-11-11 16:20:54 UTC) #6
stevenjb
chromeos changes LGTM
9 years, 1 month ago (2011-11-11 19:13:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/8480003/12001
9 years, 1 month ago (2011-11-14 09:10:10 UTC) #8
commit-bot: I haz the power
9 years, 1 month ago (2011-11-14 10:24:41 UTC) #9
Change committed as 109857

Powered by Google App Engine
This is Rietveld 408576698