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

Issue 8821023: Laning http://codereview.chromium.org/8759014/ on behalf of kmixter: (Closed)

Created:
9 years ago by zel
Modified:
9 years ago
Reviewers:
kmixter1
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Landing http://codereview.chromium.org/8759014/ on behalf of kmixter: Add ONC VPN support for OpenVPN and L2TP/IPsec VPNs Also simplifies some of the parsing code, adds type validation, brings the WiFi security parsing up to spec, and improves the unit tests for wifi so that they all verify the property_map_ fields (the only ones actually used to configure the network). Also fixed a general parser problem where certificates wouldn't be parsed if network configs were. BUG=chromium-os:23476 chromium-os:23477 TEST=manual import of ONC file with openvpn network, unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113120 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113296

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1129 lines, -307 lines) Patch
M chrome/browser/chromeos/cros/native_network_parser.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/native_network_parser.cc View 1 2 3 6 chunks +66 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.h View 1 2 3 6 chunks +52 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 6 chunks +23 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.h View 1 2 3 6 chunks +86 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.cc View 1 2 3 15 chunks +608 lines, -233 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser_unittest.cc View 1 2 3 11 chunks +293 lines, -39 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kmixter1
Not sure if this has landed, but it's got some bugs - they should show ...
9 years ago (2011-12-06 18:06:53 UTC) #1
zel
http://codereview.chromium.org/8821023/diff/6001/chrome/browser/chromeos/cros/onc_network_parser.cc File chrome/browser/chromeos/cros/onc_network_parser.cc (right): http://codereview.chromium.org/8821023/diff/6001/chrome/browser/chromeos/cros/onc_network_parser.cc#newcode780 chrome/browser/chromeos/cros/onc_network_parser.cc:780: scoped_ptr<Value> value(Value::CreateStringValue(std::string())); On 2011/12/06 18:06:54, kmixter1 wrote: > this ...
9 years ago (2011-12-06 18:35:51 UTC) #2
kmixter1
LGTM http://codereview.chromium.org/8821023/diff/6001/chrome/browser/chromeos/cros/onc_network_parser.cc File chrome/browser/chromeos/cros/onc_network_parser.cc (right): http://codereview.chromium.org/8821023/diff/6001/chrome/browser/chromeos/cros/onc_network_parser.cc#newcode47 chrome/browser/chromeos/cros/onc_network_parser.cc:47: }; This was a bug in my original ...
9 years ago (2011-12-06 19:25:03 UTC) #3
zel
9 years ago (2011-12-06 19:28:03 UTC) #4
http://codereview.chromium.org/8821023/diff/6001/chrome/browser/chromeos/cros...
File chrome/browser/chromeos/cros/onc_network_parser.cc (right):

http://codereview.chromium.org/8821023/diff/6001/chrome/browser/chromeos/cros...
chrome/browser/chromeos/cros/onc_network_parser.cc:47: };
On 2011/12/06 19:25:03, kmixter1 wrote:
> This was a bug in my original CL.  There should be a { NULL } terminator here
> (like the other arrays below).  Mattias found this yesterday.  Seems to not
have
> caused crashes yet, but it could.

Done.

Powered by Google App Engine
This is Rietveld 408576698