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

Issue 694533007: Add 'setProperties' to InternetOptionsHandler (Closed)

Created:
6 years, 1 month ago by stevenjb
Modified:
6 years, 1 month ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, hashimoto+watch_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add 'setProperties' to InternetOptionsHandler Replaces simple custom setters with setProperties call, matching the networkingPrivate API. BUG=430113 Committed: https://crrev.com/bc4af0395bb3c948c7704a83bc989ca770d1d7f9 Cr-Commit-Position: refs/heads/master@{#304780}

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Total comments: 14

Patch Set 3 : Address feedback, update test case #

Patch Set 4 : . #

Total comments: 5

Patch Set 5 : Rebase with validation changes #

Patch Set 6 : Fix tests #

Total comments: 7

Patch Set 7 : Rebase + feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -162 lines) Patch
M chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 5 6 5 chunks +32 lines, -40 lines 0 comments Download
M chrome/browser/resources/options/chromeos/onc_data.js View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 6 8 chunks +11 lines, -63 lines 0 comments Download
M chrome/test/data/extensions/api_test/networking/test.js View 1 2 3 4 5 1 chunk +47 lines, -6 lines 0 comments Download
M chromeos/dbus/fake_shill_service_client.cc View 1 2 4 chunks +33 lines, -37 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_impl.cc View 1 2 3 4 5 6 4 chunks +20 lines, -7 lines 0 comments Download
M chromeos/network/network_util.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/network/network_util.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translator_onc_to_shill.cc View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
stevenjb
https://codereview.chromium.org/694533007/diff/1/chromeos/network/onc/onc_validator.cc File chromeos/network/onc/onc_validator.cc (right): https://codereview.chromium.org/694533007/diff/1/chromeos/network/onc/onc_validator.cc#newcode413 chromeos/network/onc/onc_validator.cc:413: } This doesn't seem to me like it should ...
6 years, 1 month ago (2014-11-04 19:32:18 UTC) #2
pneubeck (no reviews)
It seems to me that only 'Type' should have missed in the ONC dictionary that ...
6 years, 1 month ago (2014-11-11 16:09:31 UTC) #3
stevenjb
PTAL I modified the setProperties test so that it fails with the existing SetProperties code ...
6 years, 1 month ago (2014-11-12 01:23:29 UTC) #4
pneubeck (no reviews)
please rebase on my CLs whether that helps. I think, merging with NetworkState's properties shouldn't ...
6 years, 1 month ago (2014-11-13 17:38:57 UTC) #5
stevenjb
On 2014/11/13 17:38:57, pneubeck wrote: > please rebase on my CLs whether that helps. > ...
6 years, 1 month ago (2014-11-13 22:25:34 UTC) #6
stevenjb
https://codereview.chromium.org/694533007/diff/60001/chrome/test/data/extensions/api_test/networking/test.js File chrome/test/data/extensions/api_test/networking/test.js (right): https://codereview.chromium.org/694533007/diff/60001/chrome/test/data/extensions/api_test/networking/test.js#newcode383 chrome/test/data/extensions/api_test/networking/test.js:383: var new_properties = {}; On 2014/11/13 17:38:56, pneubeck wrote: ...
6 years, 1 month ago (2014-11-13 22:25:41 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/694533007/diff/60001/chrome/test/data/extensions/api_test/networking/test.js File chrome/test/data/extensions/api_test/networking/test.js (right): https://codereview.chromium.org/694533007/diff/60001/chrome/test/data/extensions/api_test/networking/test.js#newcode383 chrome/test/data/extensions/api_test/networking/test.js:383: var new_properties = {}; On 2014/11/13 22:25:41, stevenjb wrote: ...
6 years, 1 month ago (2014-11-14 08:17:03 UTC) #8
stevenjb
PTAL
6 years, 1 month ago (2014-11-14 18:20:10 UTC) #10
stevenjb
So we do need 'Type' still to translate sub dictionaries, so I simplified MNCH to ...
6 years, 1 month ago (2014-11-14 21:51:56 UTC) #11
pneubeck (no reviews)
lgtm with few comments. https://codereview.chromium.org/694533007/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/694533007/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode1081 chrome/browser/resources/options/chromeos/internet_detail.js:1081: oncData.setManagedProperty('Priority', priority); this shouldn't create ...
6 years, 1 month ago (2014-11-18 13:21:39 UTC) #12
stevenjb
PTAL since there is a non-trivial change and I wasn't 100% certain I understood one ...
6 years, 1 month ago (2014-11-18 23:12:06 UTC) #13
pneubeck (no reviews)
lgtm https://codereview.chromium.org/694533007/diff/120001/chromeos/network/managed_network_configuration_handler_impl.cc File chromeos/network/managed_network_configuration_handler_impl.cc (right): https://codereview.chromium.org/694533007/diff/120001/chromeos/network/managed_network_configuration_handler_impl.cc#newcode270 chromeos/network/managed_network_configuration_handler_impl.cc:270: // included for ONC validation. On 2014/11/18 23:12:06, ...
6 years, 1 month ago (2014-11-19 06:59:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694533007/140001
6 years, 1 month ago (2014-11-19 07:00:18 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:140001)
6 years, 1 month ago (2014-11-19 08:09:47 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-11-19 08:10:33 UTC) #18
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bc4af0395bb3c948c7704a83bc989ca770d1d7f9
Cr-Commit-Position: refs/heads/master@{#304780}

Powered by Google App Engine
This is Rietveld 408576698