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

Issue 11469026: Extending ONC validator's logging. Completing toplevel validation. (Closed)

Created:
8 years ago by pneubeck (no reviews)
Modified:
8 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, eroman, mmenke, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@add_error_handling_to_validator
Visibility:
Public.

Description

Extending ONC validator's logging. Completing toplevel validation. Adding also more validation tests. The logging is in line with https://codereview.chromium.org/11299236/. BUG=162802 TEST=Unit tests. TBR=stevenjb@chromium.org,eroman@chromium.org (whitespace change in net_interals.cc) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173393

Patch Set 1 : Initial patch. #

Total comments: 2

Patch Set 2 : Rebased (Greg moved ONC tools to chromeos/network/onc/). #

Total comments: 52

Patch Set 3 : Addressed Julian's and Joao's comments. #

Patch Set 4 : Rebased (don't reject policies by onc::Validator). #

Total comments: 4

Patch Set 5 : Addressed Greg's comment. #

Patch Set 6 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+668 lines, -370 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library_impl_base.cc View 1 2 3 4 5 7 chunks +25 lines, -28 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos.cc View 1 2 3 2 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater_unittest.cc View 1 2 6 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_constants.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_mapper.h View 1 2 2 chunks +40 lines, -32 lines 0 comments Download
M chromeos/network/onc/onc_mapper.cc View 1 4 chunks +48 lines, -44 lines 0 comments Download
M chromeos/network/onc/onc_merger_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_normalizer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_normalizer.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download
M chromeos/network/onc/onc_signature.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_signature.cc View 1 3 chunks +17 lines, -9 lines 0 comments Download
M chromeos/network/onc/onc_translator_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_utils.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_utils.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_validator.h View 1 2 3 4 6 chunks +97 lines, -29 lines 0 comments Download
M chromeos/network/onc/onc_validator.cc View 1 2 3 4 24 chunks +272 lines, -115 lines 0 comments Download
M chromeos/network/onc/onc_validator_unittest.cc View 1 2 3 chunks +56 lines, -16 lines 0 comments Download
A + chromeos/test/data/network/managed_ethernet.onc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A chromeos/test/data/network/managed_toplevel.onc View 1 1 chunk +47 lines, -0 lines 0 comments Download
A + chromeos/test/data/network/managed_vpn.onc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + chromeos/test/data/network/managed_vpn_without_recommended.onc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D chromeos/test/data/network/policy.onc View 1 1 chunk +0 lines, -29 lines 0 comments Download
D chromeos/test/data/network/policy_without_recommended.onc View 1 1 chunk +0 lines, -26 lines 0 comments Download
A chromeos/test/data/network/recommended_in_unmanaged.onc View 1 1 chunk +8 lines, -0 lines 0 comments Download
D chromeos/test/data/network/valid.onc View 1 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
pneubeck (no reviews)
Hi Steven, hi Greg, I reworked my last CL about logging in ONC validator. It ...
8 years ago (2012-12-07 12:20:01 UTC) #1
Greg Spencer (Chromium)
https://codereview.chromium.org/11469026/diff/4001/chrome/browser/chromeos/network_settings/onc_mapper.h File chrome/browser/chromeos/network_settings/onc_mapper.h (right): https://codereview.chromium.org/11469026/diff/4001/chrome/browser/chromeos/network_settings/onc_mapper.h#newcode56 chrome/browser/chromeos/network_settings/onc_mapper.h:56: bool* error); Seems kind of backwards to return the ...
8 years ago (2012-12-10 22:59:01 UTC) #2
pneubeck (no reviews)
Greg indicated what I already feared: The Mapper abstraction is borderline... Currently I hope that ...
8 years ago (2012-12-11 08:25:22 UTC) #3
pneubeck (no reviews)
Rebased. Catching up with Greg's latest CL.
8 years ago (2012-12-12 14:06:56 UTC) #4
Joao da Silva
Just a drive-by, very high-level review. Feel free to proceed without an explicit ACK from ...
8 years ago (2012-12-13 09:51:34 UTC) #5
pastarmovj
Some more comments from me. Some might be repeating with Joao though. https://codereview.chromium.org/11469026/diff/13002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd ...
8 years ago (2012-12-13 10:15:44 UTC) #6
pneubeck (no reviews)
Addressed your comments. See a few answers below. https://codereview.chromium.org/11469026/diff/13002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11469026/diff/13002/chrome/app/generated_resources.grd#newcode6054 chrome/app/generated_resources.grd:6054: + ...
8 years ago (2012-12-13 14:10:02 UTC) #7
pastarmovj
LGTM in gnereral and particularly owner approval for the policy directory.
8 years ago (2012-12-13 14:25:34 UTC) #8
stevenjb
The NetworkLibrary changes look OK to me, but this really needs Greg's expertise.
8 years ago (2012-12-14 01:27:40 UTC) #9
Greg Spencer (Chromium)
LGTM with nits... https://codereview.chromium.org/11469026/diff/26004/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11469026/diff/26004/chrome/app/generated_resources.grd#newcode6054 chrome/app/generated_resources.grd:6054: + The network configuration doesn't comply ...
8 years ago (2012-12-14 18:28:43 UTC) #10
pneubeck (no reviews)
Addressed Greg's comments. https://codereview.chromium.org/11469026/diff/26004/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11469026/diff/26004/chrome/app/generated_resources.grd#newcode6054 chrome/app/generated_resources.grd:6054: + The network configuration doesn't comply ...
8 years ago (2012-12-14 19:44:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/11469026/39001
8 years ago (2012-12-16 12:17:18 UTC) #12
commit-bot: I haz the power
Presubmit check for 11469026-39001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-16 12:17:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/11469026/39001
8 years ago (2012-12-16 12:21:28 UTC) #14
commit-bot: I haz the power
8 years ago (2012-12-16 20:41:49 UTC) #15
Message was sent while issue was closed.
Change committed as 173393

Powered by Google App Engine
This is Rietveld 408576698