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

Issue 552113002: Add ONC 'Source' configuration property (Closed)

Created:
6 years, 3 months ago by stevenjb
Modified:
6 years, 3 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_279351_internet_options_9a
Project:
chromium
Visibility:
Public.

Description

Add ONC 'Source' configuration property This also includes a bit of JS cleanup to use ONC properties directly where possible. BUG=279351 R=pneubeck@chromium.org Committed: https://crrev.com/b4dd54b73384e5ca0af94aefcef95e4521c338ea Cr-Commit-Position: refs/heads/master@{#294462}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Rebase #

Total comments: 18

Patch Set 4 : Rebase, Feedback, add *Policy sources #

Total comments: 15

Patch Set 5 : Add ONC_SOURCE_UNKNOWN #

Total comments: 14

Patch Set 6 : Feedback #

Patch Set 7 : Fix test expectation for GetManagedProperties #

Patch Set 8 : Fix updateControls JS #

Patch Set 9 : Fix test expectations #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -58 lines) Patch
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 5 6 7 9 chunks +21 lines, -26 lines 0 comments Download
M chrome/browser/resources/options/chromeos/onc_data.js View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/test/data/extensions/api_test/networking/test.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_impl.cc View 1 2 3 4 3 chunks +11 lines, -8 lines 0 comments Download
M chromeos/network/network_util.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_signature.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/onc/onc_translator.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_translator_shill_to_onc.cc View 1 2 3 4 8 chunks +31 lines, -3 lines 0 comments Download
M chromeos/network/onc/onc_translator_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_utils.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chromeos/network/policy_applicator.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/policy/managed_onc_disallow_autoconnect_on_unmanaged_wifi2.onc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/shill_cellular_with_state.json View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/test/data/network/shill_wifi_with_state.json View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/test/data/network/translation_of_shill_cellular_with_state.onc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/test/data/network/translation_of_shill_wifi_with_state.onc View 1 chunk +1 line, -0 lines 0 comments Download
M components/onc/docs/onc_spec.html View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M components/onc/onc_constants.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M components/onc/onc_constants.cc View 1 2 3 1 chunk +13 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
stevenjb
Start the review with the spec and onc changes. If you prefer an alternative please ...
6 years, 3 months ago (2014-09-09 00:49:08 UTC) #2
pneubeck (no reviews)
a few comments + the comment in the mail. both source and owner (there might ...
6 years, 3 months ago (2014-09-09 19:35:32 UTC) #3
stevenjb
https://codereview.chromium.org/552113002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/552113002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode420 chrome/browser/resources/options/chromeos/internet_detail.js:420: var shared = source == 'Device'; On 2014/09/09 19:35:31, ...
6 years, 3 months ago (2014-09-10 00:00:55 UTC) #4
stevenjb
https://codereview.chromium.org/552113002/diff/40001/chrome/browser/resources/options/chromeos/onc_data.js File chrome/browser/resources/options/chromeos/onc_data.js (right): https://codereview.chromium.org/552113002/diff/40001/chrome/browser/resources/options/chromeos/onc_data.js#newcode140 chrome/browser/resources/options/chromeos/onc_data.js:140: var source = this.getActiveValue('Source'); On 2014/09/10 00:00:55, stevenjb wrote: ...
6 years, 3 months ago (2014-09-10 00:26:02 UTC) #5
pneubeck (no reviews)
https://codereview.chromium.org/552113002/diff/40001/chrome/browser/resources/options/chromeos/onc_data.js File chrome/browser/resources/options/chromeos/onc_data.js (right): https://codereview.chromium.org/552113002/diff/40001/chrome/browser/resources/options/chromeos/onc_data.js#newcode140 chrome/browser/resources/options/chromeos/onc_data.js:140: var source = this.getActiveValue('Source'); Ah, I didn't mean to ...
6 years, 3 months ago (2014-09-10 10:49:39 UTC) #6
stevenjb
ptal https://codereview.chromium.org/552113002/diff/60001/chromeos/network/managed_network_configuration_handler_impl.cc File chromeos/network/managed_network_configuration_handler_impl.cc (right): https://codereview.chromium.org/552113002/diff/60001/chromeos/network/managed_network_configuration_handler_impl.cc#newcode221 chromeos/network/managed_network_configuration_handler_impl.cc:221: *shill_properties, ::onc::ONC_SOURCE_NONE, On 2014/09/10 10:49:38, pneubeck wrote: > ...
6 years, 3 months ago (2014-09-10 17:32:16 UTC) #7
pneubeck (no reviews)
lgtm with a few remaining comments. https://codereview.chromium.org/552113002/diff/60001/chromeos/network/onc/onc_translator_shill_to_onc.cc File chromeos/network/onc/onc_translator_shill_to_onc.cc (right): https://codereview.chromium.org/552113002/diff/60001/chromeos/network/onc/onc_translator_shill_to_onc.cc#newcode437 chromeos/network/onc/onc_translator_shill_to_onc.cc:437: else On 2014/09/10 ...
6 years, 3 months ago (2014-09-10 20:22:39 UTC) #8
stevenjb
https://codereview.chromium.org/552113002/diff/80001/chromeos/network/policy_applicator.cc File chromeos/network/policy_applicator.cc (right): https://codereview.chromium.org/552113002/diff/80001/chromeos/network/policy_applicator.cc#newcode120 chromeos/network/policy_applicator.cc:120: entry_properties, onc_source, &onc::kNetworkWithStateSignature)); On 2014/09/10 20:22:38, pneubeck wrote: > ...
6 years, 3 months ago (2014-09-10 22:42:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552113002/100001
6 years, 3 months ago (2014-09-10 22:51:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/12986)
6 years, 3 months ago (2014-09-11 01:05:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552113002/120001
6 years, 3 months ago (2014-09-11 01:16:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/13044) win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/11283)
6 years, 3 months ago (2014-09-11 02:31:10 UTC) #17
pneubeck (no reviews)
thanks
6 years, 3 months ago (2014-09-11 07:07:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552113002/140001
6 years, 3 months ago (2014-09-11 16:26:14 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/13257)
6 years, 3 months ago (2014-09-11 18:18:32 UTC) #22
stevenjb
Committed patchset #10 (id:180001) to pending queue manually as d3ea712 (presubmit successful).
6 years, 3 months ago (2014-09-11 20:56:25 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 21:03:24 UTC) #24
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/b4dd54b73384e5ca0af94aefcef95e4521c338ea
Cr-Commit-Position: refs/heads/master@{#294462}

Powered by Google App Engine
This is Rietveld 408576698