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

Issue 21030006: NetworkState cleanup, pass properties to InitialPropertiesReceived (Closed)

Created:
7 years, 4 months ago by stevenjb
Modified:
7 years, 4 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, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Visibility:
Public.

Description

NetworkState cleanup, pass properties to InitialPropertiesReceived Some NetworkState cleanup. This passes the complete dictionary of properties to NetworkState:: InitialPropertesReceived() so that they can be processed without having to parse and store each individual property. Also renames technology_ to network_technology_ to match the Shill terminology (and reduce confusion with type_ which is really technology type). BUG=263978 R=pneubeck@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214503

Patch Set 1 #

Patch Set 2 : . #

Total comments: 16

Patch Set 3 : Address Feedback #

Patch Set 4 : . #

Patch Set 5 : Eliminate user_profile_required #

Patch Set 6 : . #

Total comments: 3

Patch Set 7 : Fix chromeos_unittests #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -85 lines) Patch
M ash/system/chromeos/network/network_icon.cc View 1 chunk +11 lines, -10 lines 0 comments Download
M ash/system/chromeos/network/network_observer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/about_network.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 4 chunks +6 lines, -5 lines 0 comments Download
M chromeos/network/favorite_state.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chromeos/network/favorite_state.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/network/managed_state.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M chromeos/network/managed_state.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chromeos/network/network_change_notifier_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/network_change_notifier_chromeos_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chromeos/network/network_state.h View 1 2 3 4 5 5 chunks +14 lines, -8 lines 0 comments Download
M chromeos/network/network_state.cc View 1 2 3 4 8 chunks +61 lines, -43 lines 0 comments Download
M chromeos/network/network_state_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/network_state_unittest.cc View 1 2 3 4 5 6 5 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
stevenjb
7 years, 4 months ago (2013-07-29 18:28:25 UTC) #1
pneubeck (no reviews)
I don't quite understand what this user_profile_required property will be used for. Will it be ...
7 years, 4 months ago (2013-07-29 19:13:24 UTC) #2
stevenjb
'user_profile_required' will be used to determine whether or not a network can be shared. This ...
7 years, 4 months ago (2013-07-29 20:25:47 UTC) #3
pneubeck (no reviews)
On 2013/07/29 20:25:47, stevenjb (chromium) wrote: > 'user_profile_required' will be used to determine whether or ...
7 years, 4 months ago (2013-07-29 21:52:20 UTC) #4
stevenjb
I see now. You're right, we never show the 'Share' UI (because of the PROFILE_NONE ...
7 years, 4 months ago (2013-07-29 22:58:53 UTC) #5
stevenjb
PTAL
7 years, 4 months ago (2013-07-29 23:36:12 UTC) #6
gauravsh
On 2013/07/29 23:36:12, stevenjb (chromium) wrote: > PTAL The commit title and message needs updating. ...
7 years, 4 months ago (2013-07-30 00:19:23 UTC) #7
gauravsh
On 2013/07/30 00:19:23, gauravsh wrote: > On 2013/07/29 23:36:12, stevenjb (chromium) wrote: > > PTAL ...
7 years, 4 months ago (2013-07-30 00:24:13 UTC) #8
stevenjb
Description updated. technology_ was renamed network_technology_ to match the Shill property name and distinguish it ...
7 years, 4 months ago (2013-07-30 00:24:17 UTC) #9
gauravsh
On 2013/07/30 00:24:17, stevenjb (chromium) wrote: > Description updated. The patch description still has the ...
7 years, 4 months ago (2013-07-30 00:31:50 UTC) #10
stevenjb
On 2013/07/30 00:31:50, gauravsh wrote: > On 2013/07/30 00:24:17, stevenjb (chromium) wrote: > > Description ...
7 years, 4 months ago (2013-07-30 00:34:16 UTC) #11
pneubeck (no reviews)
lgtm https://codereview.chromium.org/21030006/diff/36001/chromeos/network/network_state_unittest.cc File chromeos/network/network_state_unittest.cc (left): https://codereview.chromium.org/21030006/diff/36001/chromeos/network/network_state_unittest.cc#oldcode18 chromeos/network/network_state_unittest.cc:18: class TestStringValue : public base::Value { As I ...
7 years, 4 months ago (2013-07-30 09:42:52 UTC) #12
pneubeck (no reviews)
https://codereview.chromium.org/21030006/diff/36001/chromeos/network/managed_state.h File chromeos/network/managed_state.h (right): https://codereview.chromium.org/21030006/diff/36001/chromeos/network/managed_state.h#newcode16 chromeos/network/managed_state.h:16: class DictionaryValue; order https://codereview.chromium.org/21030006/diff/36001/chromeos/network/managed_state.h#newcode63 chromeos/network/managed_state.h:63: virtual bool InitialPropertiesReceived( 'Initial' ...
7 years, 4 months ago (2013-07-30 15:03:46 UTC) #13
stevenjb
On 2013/07/30 09:42:52, pneubeck wrote: > lgtm > > https://codereview.chromium.org/21030006/diff/36001/chromeos/network/network_state_unittest.cc > File chromeos/network/network_state_unittest.cc (left): > ...
7 years, 4 months ago (2013-07-30 17:40:27 UTC) #14
stevenjb
On 2013/07/30 15:03:46, pneubeck wrote: > https://codereview.chromium.org/21030006/diff/36001/chromeos/network/managed_state.h > File chromeos/network/managed_state.h (right): > > https://codereview.chromium.org/21030006/diff/36001/chromeos/network/managed_state.h#newcode16 > ...
7 years, 4 months ago (2013-07-30 17:42:46 UTC) #15
stevenjb
On 2013/07/30 17:40:27, stevenjb (chromium) wrote: > On 2013/07/30 09:42:52, pneubeck wrote: > > lgtm ...
7 years, 4 months ago (2013-07-30 17:46:41 UTC) #16
pneubeck (no reviews)
On 2013/07/30 17:46:41, stevenjb (chromium) wrote: > On 2013/07/30 17:40:27, stevenjb (chromium) wrote: > > ...
7 years, 4 months ago (2013-07-30 17:47:57 UTC) #17
stevenjb
7 years, 4 months ago (2013-07-31 01:33:56 UTC) #18
Message was sent while issue was closed.
Committed patchset #8 manually as r214503 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698