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

Issue 11664005: Extending the translation from ONC to Shill. (Closed)

Created:
8 years ago by pneubeck (no reviews)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, tfarina, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Extending the translation from ONC to Shill. Added string expansion and UIData creation. BUG=162040, 147624 TBR=jochen@chromium.org (for gypi changes) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176312

Patch Set 1 : Initial patch. #

Total comments: 13

Patch Set 2 : Addressed comments. Add missing docu. Removed some cruft. #

Patch Set 3 : Adding more tests. Fixing a ProxySettings bug. #

Patch Set 4 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+981 lines, -41 lines) Patch
A chrome/browser/chromeos/net/onc_utils.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/net/onc_utils.cc View 1 2 1 chunk +224 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/net/onc_utils_unittest.cc View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/chromeos/net/proxy_config.json View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/net/uidata_for_l2tpipsec_clientcert.json View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/net/uidata_for_openvpn_clientcert.json View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/net/uidata_for_wifi_clientcert.json View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/net/uidata_for_wifi_clientref.json View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/net/uidata_for_wifi_psk.json View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_signature.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_signature.cc View 1 9 chunks +26 lines, -10 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translator_onc_to_shill.cc View 1 5 chunks +55 lines, -9 lines 0 comments Download
M chromeos/network/onc/onc_translator_shill_to_onc.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translator_unittest.cc View 1 chunk +10 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_utils.h View 1 3 chunks +29 lines, -3 lines 0 comments Download
M chromeos/network/onc/onc_utils.cc View 1 2 chunks +54 lines, -3 lines 0 comments Download
M chromeos/network/onc/onc_utils_unittest.cc View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
M chromeos/test/data/network/shill_ethernet.json View 1 chunk +0 lines, -1 line 0 comments Download
A chromeos/test/data/network/shill_l2tpipsec_clientcert.json View 1 chunk +10 lines, -0 lines 0 comments Download
M chromeos/test/data/network/shill_openvpn.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chromeos/test/data/network/shill_openvpn_clientcert.json View 1 chunk +13 lines, -0 lines 0 comments Download
A chromeos/test/data/network/shill_wifi_clientcert.json View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A chromeos/test/data/network/shill_wifi_clientref.json View 1 chunk +10 lines, -0 lines 0 comments Download
A chromeos/test/data/network/shill_wifi_psk.json View 1 chunk +9 lines, -0 lines 0 comments Download
A chromeos/test/data/network/valid_l2tpipsec_clientcert.onc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M chromeos/test/data/network/valid_openvpn.onc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chromeos/test/data/network/valid_openvpn_clientcert.onc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A chromeos/test/data/network/valid_wifi_clientcert.onc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A chromeos/test/data/network/valid_wifi_clientref.onc View 1 chunk +23 lines, -0 lines 0 comments Download
A chromeos/test/data/network/valid_wifi_psk.onc View 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pneubeck (no reviews)
This adds all missing parts necessary to get from ONC policies to Shill dictionaries. I ...
8 years ago (2012-12-21 15:00:48 UTC) #1
pneubeck (no reviews)
Ah, nearly forgot: This is more like a preview. I will do another cleanup pass ...
8 years ago (2012-12-21 15:03:35 UTC) #2
Greg Spencer (Chromium)
LGTM with the changes below. https://codereview.chromium.org/11664005/diff/42/chromeos/network/onc/onc_certificate_importer.cc File chromeos/network/onc/onc_certificate_importer.cc (right): https://codereview.chromium.org/11664005/diff/42/chromeos/network/onc/onc_certificate_importer.cc#newcode172 chromeos/network/onc/onc_certificate_importer.cc:172: // TODO(jamescook): implement me. ...
8 years ago (2012-12-21 18:50:54 UTC) #3
stevenjb
lgtm w/ nits https://codereview.chromium.org/11664005/diff/42/chrome/browser/chromeos/net/onc_utils.cc File chrome/browser/chromeos/net/onc_utils.cc (right): https://codereview.chromium.org/11664005/diff/42/chrome/browser/chromeos/net/onc_utils.cc#newcode29 chrome/browser/chromeos/net/onc_utils.cc:29: onc_proxy_location.GetInteger(onc::proxy::kPort, &port); If onc_proxy_location.GetInteger() fails is ...
7 years, 12 months ago (2012-12-26 21:37:00 UTC) #4
pneubeck (no reviews)
Addressed the comments. @Steven, I'm unsure about the LOG(ERROR) vs. NOTREACHED() again. See answers below. ...
7 years, 11 months ago (2013-01-08 13:39:43 UTC) #5
pneubeck (no reviews)
@Steven, did you see the change to chromeos/chromeos.gyp? I changed that so that the tests ...
7 years, 11 months ago (2013-01-08 13:53:11 UTC) #6
stevenjb
https://codereview.chromium.org/11664005/diff/42/chrome/browser/chromeos/net/onc_utils.cc File chrome/browser/chromeos/net/onc_utils.cc (right): https://codereview.chromium.org/11664005/diff/42/chrome/browser/chromeos/net/onc_utils.cc#newcode140 chrome/browser/chromeos/net/onc_utils.cc:140: NOTREACHED(); On 2013/01/08 13:39:44, pneubeck wrote: > On 2012/12/26 ...
7 years, 11 months ago (2013-01-08 18:38:22 UTC) #7
pneubeck (no reviews)
@Craig, could you please take a look at the pyauto changes (chrome/test/functional and chrome/test/pyautolib). These ...
7 years, 11 months ago (2013-01-10 21:38:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/11664005/37002
7 years, 11 months ago (2013-01-11 08:44:53 UTC) #9
commit-bot: I haz the power
Presubmit check for 11664005-37002 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-11 08:45:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/11664005/37002
7 years, 11 months ago (2013-01-11 08:47:17 UTC) #11
commit-bot: I haz the power
7 years, 11 months ago (2013-01-11 11:21:25 UTC) #12
Message was sent while issue was closed.
Change committed as 176312

Powered by Google App Engine
This is Rietveld 408576698