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

Issue 708563005: Use setProperties for IP Config. (Closed)

Created:
6 years, 1 month ago by stevenjb
Modified:
5 years, 11 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use setProperties for IP Config. This changes the settings UI to use networkingPrivate.setProperties for setting IP config related properties. It is dependent on the ONC changes in https://codereview.chromium.org/749013003/. BUG=430113 For components/wifi/fake_wifi_service.cc (test expecations): TBR=mef@chromium.org Committed: https://crrev.com/d97aaeeea89b28d50f76fa394231594897549150 Cr-Commit-Position: refs/heads/master@{#310617}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Rebase + Clang format + robust Clear+Set chaining #

Total comments: 7

Patch Set 5 : Rebase with 694533007 #

Patch Set 6 : Add comment #

Patch Set 7 : Rebase #

Patch Set 8 : Use empty ONC values to clear Shill IP Config properties #

Patch Set 9 : Update ONC spec #

Patch Set 10 : Fix mock expectation #

Total comments: 17

Patch Set 11 : Rebase with IP config type changes #

Total comments: 4

Patch Set 12 : IPConfigType=Static applies to NameServer only config #

Total comments: 22

Patch Set 13 : Rebase with ONC changes #

Patch Set 14 : Revert NCH null=clear changes #

Patch Set 15 : Add managed indicator to userNameServers, feedback, fix tests #

Total comments: 2

Patch Set 16 : Fix missed 'IPConfigType' -> 'IPAddressConfigType' #

Patch Set 17 : Compile fix (crbug.com/418369) #

Patch Set 18 : Fix win/mac test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -231 lines) Patch
M chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +116 lines, -51 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +1 line, -151 lines 0 comments Download
M chrome/test/data/extensions/api_test/networking/test.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +15 lines, -4 lines 0 comments Download
M chromeos/dbus/fake_shill_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/auto_connect_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/client_cert_resolver_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/managed_network_configuration_handler_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/network_configuration_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -3 lines 0 comments Download
M chromeos/network/network_configuration_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +25 lines, -3 lines 0 comments Download
M chromeos/network/network_configuration_handler_unittest.cc View 1 2 3 10 11 12 13 2 chunks +4 lines, -2 lines 0 comments Download
M chromeos/network/network_connection_handler_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/network_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_translator_onc_to_shill.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -4 lines 0 comments Download
M components/wifi/fake_wifi_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (13 generated)
stevenjb
This CL is a follow-up to https://codereview.chromium.org/694533007/ which should be reviewed first.
6 years, 1 month ago (2014-11-06 00:23:01 UTC) #4
stevenjb
pneubeck@, PTAL when you have a chance. In particular there are some changes to NCH ...
6 years, 1 month ago (2014-11-19 01:04:34 UTC) #5
pneubeck (no reviews)
I took a quick look. I have to think a bit more about how this ...
6 years, 1 month ago (2014-11-19 20:05:51 UTC) #6
stevenjb
https://codereview.chromium.org/708563005/diff/100001/chrome/browser/resources/options/chromeos/onc_data.js File chrome/browser/resources/options/chromeos/onc_data.js (right): https://codereview.chromium.org/708563005/diff/100001/chrome/browser/resources/options/chromeos/onc_data.js#newcode94 chrome/browser/resources/options/chromeos/onc_data.js:94: if (effective !== undefined) On 2014/11/19 20:05:50, pneubeck wrote: ...
6 years, 1 month ago (2014-11-19 21:26:42 UTC) #7
stevenjb
https://codereview.chromium.org/708563005/diff/100001/chrome/browser/resources/options/chromeos/onc_data.js File chrome/browser/resources/options/chromeos/onc_data.js (right): https://codereview.chromium.org/708563005/diff/100001/chrome/browser/resources/options/chromeos/onc_data.js#newcode116 chrome/browser/resources/options/chromeos/onc_data.js:116: if (auth !== undefined) On 2014/11/19 21:26:42, stevenjb wrote: ...
6 years, 1 month ago (2014-11-20 01:00:52 UTC) #8
stevenjb
OK, I re-factored this to use empty values instead of null in ONC and updated ...
6 years ago (2014-11-24 22:55:36 UTC) #10
pneubeck (no reviews)
https://codereview.chromium.org/708563005/diff/240001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/708563005/diff/240001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode394 chrome/browser/resources/options/chromeos/internet_detail.js:394: * @return {Object} The IP Config ONC object. nit: ...
6 years ago (2014-11-25 21:13:34 UTC) #11
stevenjb
https://codereview.chromium.org/708563005/diff/240001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/708563005/diff/240001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode394 chrome/browser/resources/options/chromeos/internet_detail.js:394: * @return {Object} The IP Config ONC object. On ...
6 years ago (2014-11-25 21:59:47 UTC) #12
pneubeck (no reviews)
I think you didn't upload the latest patchset. A part from that I'm ok with ...
6 years ago (2014-11-27 18:55:01 UTC) #13
stevenjb
Sorry, I should have added a comment that I was waiting to upload a new ...
6 years ago (2014-12-01 18:21:10 UTC) #14
stevenjb
PTAL, this is rebased with the IPConfigType CL. https://codereview.chromium.org/708563005/diff/280001/chromeos/network/onc/onc_merger.cc File chromeos/network/onc/onc_merger.cc (right): https://codereview.chromium.org/708563005/diff/280001/chromeos/network/onc/onc_merger.cc#newcode374 chromeos/network/onc/onc_merger.cc:374: return ...
6 years ago (2014-12-05 01:59:13 UTC) #17
pneubeck (no reviews)
overall looks mostly good to me with the caveat that I have the impression that ...
6 years ago (2014-12-05 09:47:46 UTC) #18
stevenjb
PTAL https://codereview.chromium.org/708563005/diff/320001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/708563005/diff/320001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode421 chrome/browser/resources/options/chromeos/internet_detail.js:421: userNameServers = GoogleNameServers; On 2014/12/05 09:47:46, pneubeck wrote: ...
5 years, 11 months ago (2015-01-08 00:44:39 UTC) #19
pneubeck (no reviews)
thanks this is much more comprehensible now. lgtm. please update the commit message before committing. ...
5 years, 11 months ago (2015-01-08 09:47:13 UTC) #20
stevenjb
https://codereview.chromium.org/708563005/diff/380001/chrome/browser/resources/options/chromeos/internet_detail.html File chrome/browser/resources/options/chromeos/internet_detail.html (right): https://codereview.chromium.org/708563005/diff/380001/chrome/browser/resources/options/chromeos/internet_detail.html#newcode412 chrome/browser/resources/options/chromeos/internet_detail.html:412: managed="IPConfigType"></span> On 2015/01/08 09:47:13, pneubeck wrote: > IPAddressConfigType Oops, ...
5 years, 11 months ago (2015-01-08 17:09:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/708563005/400001
5 years, 11 months ago (2015-01-08 17:11:26 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/12827)
5 years, 11 months ago (2015-01-08 17:56:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/708563005/420001
5 years, 11 months ago (2015-01-08 18:35:49 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/14449)
5 years, 11 months ago (2015-01-08 20:03:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/708563005/440001
5 years, 11 months ago (2015-01-08 21:33:28 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/34202)
5 years, 11 months ago (2015-01-08 21:42:54 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/708563005/440001
5 years, 11 months ago (2015-01-08 22:30:26 UTC) #35
commit-bot: I haz the power
Committed patchset #18 (id:440001)
5 years, 11 months ago (2015-01-08 22:41:28 UTC) #36
commit-bot: I haz the power
5 years, 11 months ago (2015-01-08 22:42:19 UTC) #37
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/d97aaeeea89b28d50f76fa394231594897549150
Cr-Commit-Position: refs/heads/master@{#310617}

Powered by Google App Engine
This is Rietveld 408576698