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

Issue 492383002: Use ONC for Cellular APN and SimLock in Settings (Closed)

Created:
6 years, 4 months ago by stevenjb
Modified:
6 years, 2 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, Dan Beam
Project:
chromium
Visibility:
Public.

Description

Use ONC for Cellular APN and SimLock in Settings BUG=279351 For chrome/browser/ui/webui/chromeos/network_config_message_handler.cc: TBR=xiyuan@chromium.org Committed: https://crrev.com/4ff8121cc52bb887c2a6d35c3eace08e11d841ca Cr-Commit-Position: refs/heads/master@{#292245}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 22

Patch Set 4 : Feedback + fixes #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase, Address feedback, fix compile errors #

Patch Set 7 : Fix tests #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -180 lines) Patch
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 5 10 chunks +117 lines, -66 lines 6 comments Download
M chrome/browser/ui/webui/chromeos/network_config_message_handler.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/network_config_message_handler.cc View 1 2 3 2 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 12 chunks +10 lines, -105 lines 0 comments Download
M chromeos/network/network_state.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chromeos/network/network_state.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_signature.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/onc/onc_translator_shill_to_onc.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/test/data/network/cellular.onc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/translation_of_shill_cellular_with_state.onc View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M components/onc/onc_constants.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M components/onc/onc_constants.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (2 generated)
stevenjb
armansito@ - PTAL pneubeck@ - Mostly FYI, but please do look at setManagedProperty in internet_detail.js ...
6 years, 4 months ago (2014-08-21 23:03:32 UTC) #1
stevenjb
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (left): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#oldcode547 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:547: dictionary->SetString(kTagSupportUrl, url); This is unused in the JS code. ...
6 years, 4 months ago (2014-08-21 23:06:58 UTC) #2
armansito
thieule@: PTAL at my comment regarding the payment url in internet_options_handler.cc. https://codereview.chromium.org/492383002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): ...
6 years, 4 months ago (2014-08-22 00:56:45 UTC) #3
pneubeck (no reviews)
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode127 chrome/browser/resources/options/chromeos/internet_detail.js:127: (typeof data[key] != 'object') || !('Active' in data[key])) { ...
6 years, 4 months ago (2014-08-22 08:55:32 UTC) #4
stevenjb
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode127 chrome/browser/resources/options/chromeos/internet_detail.js:127: (typeof data[key] != 'object') || !('Active' in data[key])) { ...
6 years, 4 months ago (2014-08-22 17:08:44 UTC) #5
thieule
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (left): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#oldcode633 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:633: support_url.empty()) { We should be using the new kActivationType ...
6 years, 4 months ago (2014-08-22 19:13:04 UTC) #6
stevenjb
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (left): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#oldcode633 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:633: support_url.empty()) { On 2014/08/22 19:13:04, thieule wrote: > We ...
6 years, 4 months ago (2014-08-25 20:57:27 UTC) #7
armansito
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (left): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#oldcode633 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:633: support_url.empty()) { > According to service_constants.h, kPaymentPortalProperty is deprecated. ...
6 years, 4 months ago (2014-08-25 21:48:50 UTC) #8
stevenjb
https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (left): https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#oldcode633 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:633: support_url.empty()) { On 2014/08/25 21:48:50, armansito wrote: > > ...
6 years, 4 months ago (2014-08-25 22:32:35 UTC) #9
stevenjb
PTAL
6 years, 3 months ago (2014-08-25 23:30:16 UTC) #10
armansito
On 2014/08/25 22:32:35, stevenjb wrote: > https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc > File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc > (left): > > https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#oldcode633 ...
6 years, 3 months ago (2014-08-26 00:05:26 UTC) #11
armansito
On 2014/08/26 00:05:26, armansito wrote: > On 2014/08/25 22:32:35, stevenjb wrote: > > > https://codereview.chromium.org/492383002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ...
6 years, 3 months ago (2014-08-26 00:07:10 UTC) #12
stevenjb
On 2014/08/26 00:07:10, armansito wrote: > On 2014/08/26 00:05:26, armansito wrote: > > On 2014/08/25 ...
6 years, 3 months ago (2014-08-26 16:15:10 UTC) #13
armansito
lgtm. We should definitely add documentation for Cellular in the future and at least mention ...
6 years, 3 months ago (2014-08-26 16:26:28 UTC) #14
pneubeck (no reviews)
lgtm
6 years, 3 months ago (2014-08-27 08:29:09 UTC) #15
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 3 months ago (2014-08-27 15:36:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/492383002/100001
6 years, 3 months ago (2014-08-27 15:37:46 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-27 16:59:21 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 17:33:11 UTC) #19
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/8485)
6 years, 3 months ago (2014-08-27 17:33:12 UTC) #20
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 3 months ago (2014-08-27 19:48:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/492383002/120001
6 years, 3 months ago (2014-08-27 19:49:36 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-27 21:42:51 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 0c079538e35cbe1232438c302ed84499e79f6f30
6 years, 3 months ago (2014-08-27 22:18:53 UTC) #24
Vitaly Pavlenko
https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode319 chrome/browser/resources/options/chromeos/internet_detail.js:319: activeApn['AccessPointName'] = Could you please explain, why |activeApn| is ...
6 years, 3 months ago (2014-09-07 05:25:15 UTC) #26
stevenjb
https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode319 chrome/browser/resources/options/chromeos/internet_detail.js:319: activeApn['AccessPointName'] = On 2014/09/07 05:25:15, Vitaly Pavlenko wrote: > ...
6 years, 3 months ago (2014-09-08 17:48:22 UTC) #27
Dan Beam
https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode319 chrome/browser/resources/options/chromeos/internet_detail.js:319: activeApn['AccessPointName'] = On 2014/09/08 17:48:22, stevenjb wrote: > On ...
6 years, 3 months ago (2014-09-08 20:32:14 UTC) #29
stevenjb
https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode319 chrome/browser/resources/options/chromeos/internet_detail.js:319: activeApn['AccessPointName'] = On 2014/09/08 20:32:14, Dan Beam wrote: > ...
6 years, 3 months ago (2014-09-09 00:47:49 UTC) #30
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/4ff8121cc52bb887c2a6d35c3eace08e11d841ca Cr-Commit-Position: refs/heads/master@{#292245}
6 years, 3 months ago (2014-09-10 02:54:49 UTC) #31
pneubeck (no reviews)
https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode1377 chrome/browser/resources/options/chromeos/internet_detail.js:1377: var activeApn = getManagedValue(data, 'Cellular.APN'); while looking for the ...
6 years, 2 months ago (2014-10-20 16:48:05 UTC) #32
stevenjb
6 years, 2 months ago (2014-10-20 18:11:21 UTC) #33
Message was sent while issue was closed.
https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resource...
File chrome/browser/resources/options/chromeos/internet_detail.js (right):

https://codereview.chromium.org/492383002/diff/120001/chrome/browser/resource...
chrome/browser/resources/options/chromeos/internet_detail.js:1377: var activeApn
= getManagedValue(data, 'Cellular.APN');
On 2014/10/20 16:48:04, pneubeck wrote:
> while looking for the VPN hostname cause, I saw that this CL didn't update the
> internet_detail.html, which refers to 'providerApnList' in the
> controlled-setting-indicator.
> 
> Similarly, I fear that several other controlled-setting-indicators were not
> updated.

crbug.com/425164

Powered by Google App Engine
This is Rietveld 408576698