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

Issue 1059033002: Implement networkingPrivate.getDeviceStates (Closed)

Created:
5 years, 8 months ago by stevenjb
Modified:
5 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, asvitkine+watch_chromium.org, oshima+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement networkingPrivate.getDeviceStates This is needed for the internet Settings UI to replace the following properites passed using chrome.send(). It will also be used in the new Settings UI to improve the UI for uninitalized and enabling technologies. cellularAvailable cellularEnabled wifiAvailable wifiEnabled wimaxAvailable wimaxEnabled BUG=465418 For chrome_browser_main_extra_parts_profiles.cc: TBR=skuhne@chromium.org Committed: https://crrev.com/7d6a04929fbc69cd9287cc19a365789a42e0e12b Cr-Commit-Position: refs/heads/master@{#324643}

Patch Set 1 #

Patch Set 2 : Improve test #

Patch Set 3 : . #

Total comments: 12

Patch Set 4 : Add all DeviceState entries, Scanning property, onDeviceStateListChangedEvent #

Patch Set 5 : Fix test #

Total comments: 26

Patch Set 6 : Feedback #

Patch Set 7 : Fix test #

Patch Set 8 : Rebase #

Patch Set 9 : Fix compile errors #

Patch Set 10 : Fix Android compile errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -36 lines) Patch
M chrome/browser/extensions/api/networking_private/networking_private_apitest.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc View 1 2 3 4 5 4 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/networking_private/chromeos/test.js View 1 2 3 4 5 6 2 chunks +40 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/networking_private/test.js View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_shill_device_client.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chromeos/network/device_state.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_utils.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/onc/onc_constants.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M components/onc/onc_constants.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_api.h View 1 chunk +17 lines, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_api.cc View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_chromeos.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_chromeos.cc View 1 2 3 4 5 4 chunks +75 lines, -1 line 0 comments Download
M extensions/browser/api/networking_private/networking_private_delegate.h View 1 2 3 4 chunks +18 lines, -9 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_delegate.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/api/networking_private/networking_private_event_router_chromeos.cc View 1 2 3 5 chunks +24 lines, -8 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_linux.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_linux.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_service_client.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_service_client.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -1 line 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/api/networking_private.idl View 1 2 3 5 chunks +39 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
stevenjb
5 years, 8 months ago (2015-04-02 21:19:10 UTC) #2
stevenjb
friendly ping
5 years, 8 months ago (2015-04-06 21:36:57 UTC) #3
pneubeck (no reviews)
The implementation itself looks good to me with a few nits. Regarding the nomenclature I'm ...
5 years, 8 months ago (2015-04-08 10:05:07 UTC) #4
stevenjb
On 2015/04/08 10:05:07, pneubeck wrote: > The implementation itself looks good to me with a ...
5 years, 8 months ago (2015-04-08 16:17:50 UTC) #5
stevenjb
It occurred to me as I added the 'Scanning' property that we really need an ...
5 years, 8 months ago (2015-04-08 20:27:30 UTC) #6
pneubeck (no reviews)
thanks, this addresses my point. lgtm with minor comments. https://codereview.chromium.org/1059033002/diff/80001/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js File chrome/test/data/extensions/api_test/networking_private/chromeos/test.js (right): https://codereview.chromium.org/1059033002/diff/80001/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js#newcode348 chrome/test/data/extensions/api_test/networking_private/chromeos/test.js:348: ...
5 years, 8 months ago (2015-04-09 09:41:22 UTC) #7
stevenjb
+isheramn@ for histograms pneubeck@ - Thanks a ton for the review! https://codereview.chromium.org/1059033002/diff/80001/chrome/test/data/extensions/api_test/networking_private/chromeos/test.js File chrome/test/data/extensions/api_test/networking_private/chromeos/test.js (right): ...
5 years, 8 months ago (2015-04-09 16:20:25 UTC) #9
stevenjb
+asargent@ for neteorking_private.idl
5 years, 8 months ago (2015-04-09 16:43:17 UTC) #11
Ilya Sherman
histograms.xml LGTM. Lucky number 999!
5 years, 8 months ago (2015-04-09 19:47:30 UTC) #12
stevenjb
or kalman@ for networking_private.idl
5 years, 8 months ago (2015-04-09 19:55:58 UTC) #14
not at google - send to devlin
lgtm
5 years, 8 months ago (2015-04-09 19:57:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059033002/140001
5 years, 8 months ago (2015-04-09 20:45:44 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/76812)
5 years, 8 months ago (2015-04-09 21:17:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059033002/160001
5 years, 8 months ago (2015-04-09 21:38:37 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/55279)
5 years, 8 months ago (2015-04-09 21:51:38 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059033002/180001
5 years, 8 months ago (2015-04-09 23:08:12 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/55320)
5 years, 8 months ago (2015-04-10 00:09:39 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059033002/180001
5 years, 8 months ago (2015-04-10 15:48:20 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 8 months ago (2015-04-10 15:53:45 UTC) #33
commit-bot: I haz the power
5 years, 8 months ago (2015-04-10 15:55:44 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/7d6a04929fbc69cd9287cc19a365789a42e0e12b
Cr-Commit-Position: refs/heads/master@{#324643}

Powered by Google App Engine
This is Rietveld 408576698