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

Issue 978923003: Improve Cellular support in networkingPrivate (Closed)

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

Description

Improve Cellular support in networkingPrivate This CL * Adds support for setting Cellular Device properties (Carrier) in networkingPrivate.setProperties * Adds SupportNetworkScan property to networkingPrivate.getState BUG=464036

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Add getStateCellular test #

Patch Set 4 : Rebase #

Total comments: 10

Patch Set 5 : Rebase #

Messages

Total messages: 5 (1 generated)
stevenjb
When I started this CL, I assumed that there would be other Device properties that ...
5 years, 9 months ago (2015-03-05 02:22:09 UTC) #2
stevenjb
Ping
5 years, 9 months ago (2015-03-20 17:46:47 UTC) #3
pneubeck (no reviews)
https://codereview.chromium.org/978923003/diff/60001/chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc File chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc (right): https://codereview.chromium.org/978923003/diff/60001/chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc#newcode217 chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc:217: profile_test_->AddService(ShillProfileClient::GetSharedProfilePath(), do you know where cellular services are usually ...
5 years, 9 months ago (2015-03-24 16:19:52 UTC) #4
stevenjb
5 years, 9 months ago (2015-03-25 20:50:10 UTC) #5
I am actually going to abandon this CL in favor of a simper one. Some of the
comments are applied to the next CL.

https://codereview.chromium.org/978923003/diff/60001/chrome/browser/extension...
File
chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc
(right):

https://codereview.chromium.org/978923003/diff/60001/chrome/browser/extension...
chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc:217:
profile_test_->AddService(ShillProfileClient::GetSharedProfilePath(),
On 2015/03/24 16:19:52, pneubeck wrote:
> do you know where cellular services are usually stored in Shill? shared or
> private profile?

Private, but I'm not sure we even have a private profile in the fake
implementation. We don't use it here anyway.

https://codereview.chromium.org/978923003/diff/60001/chrome/browser/extension...
chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc:218:
"stub_cellular1");
On 2015/03/24 16:19:52, pneubeck wrote:
> -> kCellular1ServicePath

Done.

https://codereview.chromium.org/978923003/diff/60001/chrome/test/data/extensi...
File
chrome/test/data/extensions/api_test/networking_private/chromeos/networking_private_apitest_chromeos.js
(right):

https://codereview.chromium.org/978923003/diff/60001/chrome/test/data/extensi...
chrome/test/data/extensions/api_test/networking_private/chromeos/networking_private_apitest_chromeos.js:467:
var done = chrome.test.callbackAdded();
On 2015/03/24 16:19:52, pneubeck wrote:
> not sure why we ended up using this done/callbackAdded construct in so many
> tests, but it shouldn't be required here since you use callbackPass to wrap
> every callback.

Done.

https://codereview.chromium.org/978923003/diff/60001/chrome/test/data/extensi...
chrome/test/data/extensions/api_test/networking_private/chromeos/networking_private_apitest_chromeos.js:557:
"SupportNetworkScan": false,
On 2015/03/24 16:19:52, pneubeck wrote:
> this dictionary seems rather huge. Are all of these properties relevant for
> (overview) network lists in UI?
All except SupportNetworkScan are used in the badge. I'm not sure why ONC is
providing that; we don't provide it in NetworkState::GetStateProperties as near
as I can tell. Maybe because it is a boolean?

Powered by Google App Engine
This is Rietveld 408576698