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

Issue 260083007: Replace chrome://network implementation with networkConfig API (Closed)

Created:
6 years, 7 months ago by stevenjb
Modified:
6 years, 7 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Replace chrome://network implementation with networkConfig API This CL does the following: * Moves chrome://network resources into their own directory * Separates 'requestNetworkInfo' into two separate methods: ** NetworkUI.getNetworkLog ** networkConfig.getNetworks * Moves networkConfig methods into their own module ** networkConfig emulates a subset of the chrome.networkingPrivate extension API ** This module will later also be used by the internet options JS code BUG=366365 For c/b/browser_resources.grd: R=armansito@chromium.org, pneubeck@chromium.org, xiyuan@chromium.org TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273007

Patch Set 1 #

Total comments: 33

Patch Set 2 : Use callback id map, add getProperties #

Total comments: 46

Patch Set 3 : Feedback #

Total comments: 6

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Elim ONC consts, feedback #

Patch Set 8 : Fix Error handling #

Total comments: 68

Patch Set 9 : Rebase +Feedback #

Total comments: 2

Patch Set 10 : Rebase + Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+491 lines, -614 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
D chrome/browser/resources/chromeos/network.css View 1 chunk +0 lines, -87 lines 0 comments Download
D chrome/browser/resources/chromeos/network.html View 1 chunk +0 lines, -67 lines 0 comments Download
D chrome/browser/resources/chromeos/network.js View 1 chunk +0 lines, -273 lines 0 comments Download
A chrome/browser/resources/chromeos/network/network_config.js View 1 2 3 4 5 6 7 8 9 1 chunk +123 lines, -0 lines 0 comments Download
A + chrome/browser/resources/chromeos/network_ui/network_ui.css View 1 2 3 4 5 6 1 chunk +6 lines, -10 lines 0 comments Download
A + chrome/browser/resources/chromeos/network_ui/network_ui.html View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
A + chrome/browser/resources/chromeos/network_ui/network_ui.js View 1 2 3 4 5 6 7 8 8 chunks +103 lines, -58 lines 0 comments Download
M chrome/browser/ui/webui/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/ui/webui/chromeos/network_config_message_handler.h View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/chromeos/network_config_message_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +145 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/network_ui.cc View 1 2 3 chunks +31 lines, -105 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/network/network_configuration_handler.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/network_util.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -2 lines 0 comments Download
M chromeos/network/network_util.cc View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
stevenjb
6 years, 7 months ago (2014-04-29 02:00:22 UTC) #1
michaelpg
I don't own anything, but chrome/browser changes make sense to me w/ some questions. https://codereview.chromium.org/260083007/diff/1/chrome/browser/resources/chromeos/network/network_config.js ...
6 years, 7 months ago (2014-04-29 19:51:00 UTC) #2
armansito
https://codereview.chromium.org/260083007/diff/1/chrome/browser/ui/webui/chromeos/network_config_message_handler.h File chrome/browser/ui/webui/chromeos/network_config_message_handler.h (right): https://codereview.chromium.org/260083007/diff/1/chrome/browser/ui/webui/chromeos/network_config_message_handler.h#newcode19 chrome/browser/ui/webui/chromeos/network_config_message_handler.h:19: // networkingPrivate methods as needed. what's the reason for ...
6 years, 7 months ago (2014-04-29 21:26:44 UTC) #3
stevenjb
https://codereview.chromium.org/260083007/diff/1/chrome/browser/resources/chromeos/network_ui/network_ui.js File chrome/browser/resources/chromeos/network_ui/network_ui.js (left): https://codereview.chromium.org/260083007/diff/1/chrome/browser/resources/chromeos/network_ui/network_ui.js#oldcode10 chrome/browser/resources/chromeos/network_ui/network_ui.js:10: 'Name', 'Type', 'State', 'Profile', 'Connectable', On 2014/04/29 19:51:00, Michael ...
6 years, 7 months ago (2014-04-29 21:44:03 UTC) #4
armansito
https://codereview.chromium.org/260083007/diff/1/chrome/browser/ui/webui/chromeos/network_config_message_handler.h File chrome/browser/ui/webui/chromeos/network_config_message_handler.h (right): https://codereview.chromium.org/260083007/diff/1/chrome/browser/ui/webui/chromeos/network_config_message_handler.h#newcode19 chrome/browser/ui/webui/chromeos/network_config_message_handler.h:19: // networkingPrivate methods as needed. On 2014/04/29 21:44:03, stevenjb ...
6 years, 7 months ago (2014-04-29 22:54:46 UTC) #5
armansito
lgtm
6 years, 7 months ago (2014-04-30 00:03:35 UTC) #6
pneubeck (no reviews)
I reviewed the ONC changes only, so far. https://codereview.chromium.org/260083007/diff/1/components/onc/docs/onc_spec.html File components/onc/docs/onc_spec.html (right): https://codereview.chromium.org/260083007/diff/1/components/onc/docs/onc_spec.html#newcode359 components/onc/docs/onc_spec.html:359: <span ...
6 years, 7 months ago (2014-04-30 08:44:02 UTC) #7
stevenjb
We're now missing Favorites, but I added GetProperties so that we can examine the complete ...
6 years, 7 months ago (2014-05-01 01:45:13 UTC) #8
pneubeck (no reviews)
https://codereview.chromium.org/260083007/diff/20001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/20001/chrome/browser/resources/chromeos/network/network_config.js#newcode23 chrome/browser/resources/chromeos/network/network_config.js:23: Service: { The term 'Service' doesn't appear in ONC ...
6 years, 7 months ago (2014-05-02 09:43:46 UTC) #9
stevenjb
https://codereview.chromium.org/260083007/diff/20001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/20001/chrome/browser/resources/chromeos/network/network_config.js#newcode23 chrome/browser/resources/chromeos/network/network_config.js:23: Service: { On 2014/05/02 09:43:46, pneubeck wrote: > The ...
6 years, 7 months ago (2014-05-02 22:07:37 UTC) #10
pneubeck (no reviews)
https://codereview.chromium.org/260083007/diff/20001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/20001/chrome/browser/resources/chromeos/network/network_config.js#newcode23 chrome/browser/resources/chromeos/network/network_config.js:23: Service: { On 2014/05/02 22:07:38, stevenjb wrote: > On ...
6 years, 7 months ago (2014-05-08 09:21:42 UTC) #11
stevenjb
OK, a lot of changes have been pulled out to separate CL's, this should now ...
6 years, 7 months ago (2014-05-21 20:22:43 UTC) #12
xiyuan
https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js#newcode10 chrome/browser/resources/chromeos/network/network_config.js:10: // to a chrome.send call. nit: Convert this to ...
6 years, 7 months ago (2014-05-21 21:22:28 UTC) #13
pneubeck (no reviews)
please also update the commit message only minor stuff, lgtm. https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js#newcode18 ...
6 years, 7 months ago (2014-05-22 16:24:19 UTC) #14
stevenjb
https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js#newcode10 chrome/browser/resources/chromeos/network/network_config.js:10: // to a chrome.send call. On 2014/05/21 21:22:28, xiyuan ...
6 years, 7 months ago (2014-05-23 21:50:59 UTC) #15
xiyuan
lgtm https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js#newcode19 chrome/browser/resources/chromeos/network/network_config.js:19: * @return {Mixed} The value associated with the ...
6 years, 7 months ago (2014-05-23 22:12:19 UTC) #16
pneubeck (no reviews)
lgtm except the NOTREACHED without return. IMO javascript in general must be assumed to be ...
6 years, 7 months ago (2014-05-24 13:38:53 UTC) #17
stevenjb
https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js File chrome/browser/resources/chromeos/network/network_config.js (right): https://codereview.chromium.org/260083007/diff/140001/chrome/browser/resources/chromeos/network/network_config.js#newcode19 chrome/browser/resources/chromeos/network/network_config.js:19: * @return {Mixed} The value associated with the property ...
6 years, 7 months ago (2014-05-27 15:58:34 UTC) #18
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 7 months ago (2014-05-27 15:59:08 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/260083007/180001
6 years, 7 months ago (2014-05-27 15:59:23 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 7 months ago (2014-05-27 18:28:51 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 18:37:16 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/78043)
6 years, 7 months ago (2014-05-27 18:37:16 UTC) #23
stevenjb
6 years, 7 months ago (2014-05-27 19:23:24 UTC) #24
Message was sent while issue was closed.
Committed patchset #10 manually as r273007 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698