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

Issue 23441025: Clean up NetworkState members (Closed)

Created:
7 years, 3 months ago by stevenjb
Modified:
7 years, 3 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, robertshield, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Clean up NetworkState members This includes updating the (already asynchronous) calls in MobileActivator and MobileSetupUI to retrieve the complete set of service properties so that we do not need to cache some infrequently used properties. BUG=252553 For test files: TBR=armansito@chromium.org, pneubeck@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221785

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : . #

Total comments: 10

Patch Set 4 : Rename GetPropertiesSuccess #

Patch Set 5 : Address feedback #

Total comments: 6

Patch Set 6 : Rebase #

Patch Set 7 : Address feedback #

Patch Set 8 : Fix test expectations #

Patch Set 9 : Rebase #

Patch Set 10 : . #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -157 lines) Patch
M ash/system/chromeos/network/network_connect.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/mobile/mobile_activator.h View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/chromeos/mobile/mobile_activator.cc View 1 2 3 4 5 6 3 chunks +39 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc View 1 2 3 4 5 6 7 8 9 4 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/resources/chromeos/network.html View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/network.js View 1 2 3 4 5 6 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc View 1 2 3 14 chunks +174 lines, -43 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/networking/test.js View 1 2 3 4 5 6 7 6 chunks +0 lines, -8 lines 0 comments Download
M chromeos/network/network_state.h View 1 2 3 4 5 6 7 8 5 chunks +23 lines, -30 lines 0 comments Download
M chromeos/network/network_state.cc View 1 2 3 4 5 6 7 8 6 chunks +1 line, -45 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
stevenjb
https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc#oldcode355 ash/system/chromeos/network/network_connect.cc:355: if (!cellular->payment_url().empty()) This check shouldn't be necessary; MobileSetupUI should ...
7 years, 3 months ago (2013-09-03 23:23:06 UTC) #1
armansito
https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc#oldcode355 ash/system/chromeos/network/network_connect.cc:355: if (!cellular->payment_url().empty()) On 2013/09/03 23:23:07, stevenjb (chromium) wrote: > ...
7 years, 3 months ago (2013-09-03 23:52:06 UTC) #2
stevenjb
https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc#oldcode355 ash/system/chromeos/network/network_connect.cc:355: if (!cellular->payment_url().empty()) On 2013/09/03 23:52:06, armansito wrote: > On ...
7 years, 3 months ago (2013-09-04 00:04:50 UTC) #3
gauravsh
https://codereview.chromium.org/23441025/diff/4001/chrome/browser/chromeos/mobile/mobile_activator.cc File chrome/browser/chromeos/mobile/mobile_activator.cc (right): https://codereview.chromium.org/23441025/diff/4001/chrome/browser/chromeos/mobile/mobile_activator.cc#newcode285 chrome/browser/chromeos/mobile/mobile_activator.cc:285: if (!properties.GetStringWithoutPathExpansion( It shouldn't happen, but you should check ...
7 years, 3 months ago (2013-09-04 00:06:52 UTC) #4
gauravsh
Also, I'd recommend testing the activation flow (3g and 4g lte) with this change manually ...
7 years, 3 months ago (2013-09-04 00:09:48 UTC) #5
armansito
https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc#oldcode355 ash/system/chromeos/network/network_connect.cc:355: if (!cellular->payment_url().empty()) On 2013/09/04 00:04:50, stevenjb (chromium) wrote: > ...
7 years, 3 months ago (2013-09-04 00:18:14 UTC) #6
stevenjb
On 2013/09/04 00:09:48, gauravsh wrote: > Also, I'd recommend testing the activation flow (3g and ...
7 years, 3 months ago (2013-09-04 01:03:27 UTC) #7
stevenjb
https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/23441025/diff/4001/ash/system/chromeos/network/network_connect.cc#oldcode355 ash/system/chromeos/network/network_connect.cc:355: if (!cellular->payment_url().empty()) On 2013/09/04 00:18:14, armansito wrote: > On ...
7 years, 3 months ago (2013-09-04 01:04:10 UTC) #8
armansito
Just one nit. I would like to test the activation portion before you submit this, ...
7 years, 3 months ago (2013-09-04 01:35:31 UTC) #9
armansito
lgtm for mobile activator. Please address the one nit I pointed out.
7 years, 3 months ago (2013-09-04 02:28:54 UTC) #10
pneubeck (no reviews)
lgtm I looked at all but mobile_* lgtm, except one comment and one optional nit. ...
7 years, 3 months ago (2013-09-04 16:32:55 UTC) #11
stevenjb
https://codereview.chromium.org/23441025/diff/19001/chrome/browser/chromeos/mobile/mobile_activator.cc File chrome/browser/chromeos/mobile/mobile_activator.cc (right): https://codereview.chromium.org/23441025/diff/19001/chrome/browser/chromeos/mobile/mobile_activator.cc#newcode284 chrome/browser/chromeos/mobile/mobile_activator.cc:284: return; // Edge case; abort. On 2013/09/04 01:35:31, armansito ...
7 years, 3 months ago (2013-09-04 18:47:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/23441025/2002
7 years, 3 months ago (2013-09-05 16:27:24 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=23973
7 years, 3 months ago (2013-09-05 16:42:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/23441025/2002
7 years, 3 months ago (2013-09-05 17:06:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/23441025/2002
7 years, 3 months ago (2013-09-05 17:11:12 UTC) #16
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-05 17:14:06 UTC) #17
stevenjb
7 years, 3 months ago (2013-09-06 21:31:23 UTC) #18
Message was sent while issue was closed.
Committed patchset #12 manually as r221785 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698