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

Issue 249193003: Add Shill to ONC translation of IPConfig. (Closed)

Created:
6 years, 8 months ago by pneubeck (no reviews)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Add Shill to ONC translation of IPConfig. So far, the ONC IPConfig object was only validated but not translated to or from Shill. This adds the one direction, from Shill to ONC. This allows exposing the current IP config state of Shill through ONC, e.g. with in the networkingPrivate API. BUG=288288 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266848

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Changed expected Shill field from IPConfig to IPConfigs. #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -11 lines) Patch
M chromeos/network/onc/onc_signature.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.cc View 3 chunks +8 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_translator_shill_to_onc.cc View 1 5 chunks +35 lines, -6 lines 0 comments Download
M chromeos/network/onc/onc_translator_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_validator_unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
A chromeos/test/data/network/shill_ethernet_with_ipconfig.json View 1 1 chunk +23 lines, -0 lines 0 comments Download
A chromeos/test/data/network/translation_of_shill_ethernet_with_ipconfig.onc View 1 1 chunk +27 lines, -0 lines 0 comments Download
M components/onc/onc_constants.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/onc/onc_constants.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
pneubeck (no reviews)
@Arman, you know this code already. Please take a look. @both of you: As far ...
6 years, 8 months ago (2014-04-23 14:14:41 UTC) #1
armansito
ONC looks good overall, I just commented on a few nits. As for whether or ...
6 years, 8 months ago (2014-04-23 18:46:35 UTC) #2
stevenjb
+zork@ FYI https://codereview.chromium.org/249193003/diff/50001/chromeos/network/onc/onc_translation_tables.cc File chromeos/network/onc/onc_translation_tables.cc (right): https://codereview.chromium.org/249193003/diff/50001/chromeos/network/onc/onc_translation_tables.cc#newcode180 chromeos/network/onc/onc_translation_tables.cc:180: { ::onc::ipconfig::kNameServers, shill::kNameServersProperty}, We don't need to ...
6 years, 8 months ago (2014-04-23 19:43:42 UTC) #3
mukesh agrawal
On 2014/04/23 18:46:35, armansito wrote: > ONC looks good overall, I just commented on a ...
6 years, 8 months ago (2014-04-23 21:33:14 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/249193003/diff/50001/chromeos/network/onc/onc_signature.cc File chromeos/network/onc/onc_signature.cc (right): https://codereview.chromium.org/249193003/diff/50001/chromeos/network/onc/onc_signature.cc#newcode166 chromeos/network/onc/onc_signature.cc:166: // Not supported for policy but for reading network ...
6 years, 8 months ago (2014-04-25 10:07:34 UTC) #5
stevenjb
lgtm, cheers!
6 years, 8 months ago (2014-04-25 16:52:19 UTC) #6
armansito
lgtm
6 years, 8 months ago (2014-04-25 21:59:26 UTC) #7
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 8 months ago (2014-04-27 07:37:18 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/249193003/110001
6 years, 8 months ago (2014-04-27 07:37:59 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-27 08:19:49 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-27 08:19:49 UTC) #11
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 7 months ago (2014-04-29 07:26:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/249193003/110001
6 years, 7 months ago (2014-04-29 07:27:28 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 08:06:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-29 08:06:44 UTC) #15
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 7 months ago (2014-04-29 08:59:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/249193003/130001
6 years, 7 months ago (2014-04-29 09:00:42 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 11:29:28 UTC) #18
Message was sent while issue was closed.
Change committed as 266848

Powered by Google App Engine
This is Rietveld 408576698