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

Issue 547703004: Some JS cleanup, including proper ownership of ONC properties. (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_8b
Project:
chromium
Visibility:
Public.

Description

Some JS cleanup, including proper ownership of ONC properties. This is in preparation for eliminating the remaining non ONC properties from the 'data' object passed from Chrome. BUG=279351 Committed: https://crrev.com/5ca466f14cd4b221b5e1340641fd6793621881bd Cr-Commit-Position: refs/heads/master@{#293895}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Elim unused property, fix logic, add comments #

Total comments: 2

Patch Set 3 : APN and showActivateButton fixes #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -371 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.html View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 20 chunks +343 lines, -347 lines 0 comments Download
M chrome/browser/resources/options/chromeos/onc_data.js View 1 3 chunks +16 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 3 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler_strings.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (5 generated)
stevenjb
6 years, 3 months ago (2014-09-05 23:32:30 UTC) #2
armansito
lgtm https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js#newcode47 chrome/browser/resources/options/chromeos/internet_detail.js:47: DetailsInternetPage.getInstance().updateControls_(); nit: It feels a bit awkward that ...
6 years, 3 months ago (2014-09-06 00:38:57 UTC) #3
pneubeck (no reviews)
I didn't do a diff of the moved code. The structural changes lgtm at a ...
6 years, 3 months ago (2014-09-08 09:18:00 UTC) #4
stevenjb
https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js#newcode47 chrome/browser/resources/options/chromeos/internet_detail.js:47: DetailsInternetPage.getInstance().updateControls_(); On 2014/09/06 00:38:56, armansito wrote: > nit: It ...
6 years, 3 months ago (2014-09-08 19:43:12 UTC) #5
stevenjb
PTAL https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js#newcode1040 chrome/browser/resources/options/chromeos/internet_detail.js:1040: $('details-internet-login').hidden = true; On 2014/09/08 19:43:12, stevenjb wrote: ...
6 years, 3 months ago (2014-09-08 21:31:19 UTC) #7
armansito
https://codereview.chromium.org/547703004/diff/20001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/547703004/diff/20001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode693 chrome/browser/resources/options/chromeos/internet_detail.js:693: stringFromValue(defaultApn['AccessPointName']); On 2014/09/08 21:31:18, stevenjb wrote: > This was ...
6 years, 3 months ago (2014-09-08 21:43:32 UTC) #8
Vitaly Pavlenko
lgtm
6 years, 3 months ago (2014-09-08 21:46:03 UTC) #9
pneubeck (no reviews)
lgtm with one comment https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js#newcode693 chrome/browser/resources/options/chromeos/internet_detail.js:693: onc.setManagedProperty('Cellular.APN', activeApn); maybe the original ...
6 years, 3 months ago (2014-09-08 21:51:06 UTC) #10
stevenjb
https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/547703004/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js#newcode693 chrome/browser/resources/options/chromeos/internet_detail.js:693: onc.setManagedProperty('Cellular.APN', activeApn); On 2014/09/08 21:51:05, pneubeck wrote: > maybe ...
6 years, 3 months ago (2014-09-08 23:25:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/547703004/60001
6 years, 3 months ago (2014-09-09 00:52:56 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 5aabef7e4824bc8e71bb3f3978774b0b0942eb6d
6 years, 3 months ago (2014-09-09 08:17:10 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:51:58 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5ca466f14cd4b221b5e1340641fd6793621881bd
Cr-Commit-Position: refs/heads/master@{#293895}

Powered by Google App Engine
This is Rietveld 408576698