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

Issue 23551004: Move Shill property utility functions to a new separate file. (Closed)

Created:
7 years, 3 months ago by pneubeck (no reviews)
Modified:
7 years, 3 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, gauravsh+watch_chromium.org, gspencer+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Move Shill property utility functions to a separate file. This CL moves some functions to handle Shill properties to shill_property_util.* This cleans up some dependencies (e.g. network_connection_handler.cc doesn't include managed_network_configuration_handler.h anymore) and allows to share some more code. GetUIData was adapted slightly to make use of GetUIDataFromValue. CopyIdentifyingProperties deviates from the original implementation in network_connection_handler (e.g. it didn't copy the SSID). This function will be used in ManagedNetConfHandler for the new "AllowAutoconnect" policy. BUG=280146 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221260

Patch Set 1 : #

Patch Set 2 : Fix chrome/ compilation. #

Total comments: 7

Patch Set 3 : Addressed comments. #

Patch Set 4 : Rebased. #

Total comments: 4

Patch Set 5 : Addressed comments, fixed a bug. #

Patch Set 6 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -211 lines) Patch
M ash/system/chromeos/network/network_state_notifier.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/network/favorite_state.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chromeos/network/managed_network_configuration_handler.h View 3 chunks +0 lines, -8 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_impl.cc View 1 2 3 4 5 6 chunks +6 lines, -16 lines 0 comments Download
M chromeos/network/network_configuration_handler.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 2 3 4 4 chunks +16 lines, -35 lines 0 comments Download
M chromeos/network/network_state.h View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M chromeos/network/network_state.cc View 1 2 6 chunks +7 lines, -120 lines 0 comments Download
A chromeos/network/shill_property_util.h View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
A chromeos/network/shill_property_util.cc View 1 2 3 4 1 chunk +222 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pneubeck (no reviews)
7 years, 3 months ago (2013-08-28 11:18:38 UTC) #1
stevenjb
https://codereview.chromium.org/23551004/diff/12001/chromeos/network/network_connection_handler.cc File chromeos/network/network_connection_handler.cc (right): https://codereview.chromium.org/23551004/diff/12001/chromeos/network/network_connection_handler.cc#newcode490 chromeos/network/network_connection_handler.cc:490: } else { no else after return https://codereview.chromium.org/23551004/diff/12001/chromeos/network/shill_property_util.cc File ...
7 years, 3 months ago (2013-08-28 15:33:54 UTC) #2
pneubeck (no reviews)
https://codereview.chromium.org/23551004/diff/12001/chromeos/network/network_connection_handler.cc File chromeos/network/network_connection_handler.cc (right): https://codereview.chromium.org/23551004/diff/12001/chromeos/network/network_connection_handler.cc#newcode490 chromeos/network/network_connection_handler.cc:490: } else { On 2013/08/28 15:33:54, stevenjb (chromium) wrote: ...
7 years, 3 months ago (2013-09-02 13:39:54 UTC) #3
stevenjb
lgtm w/nit and note. https://codereview.chromium.org/23551004/diff/36001/chromeos/network/shill_property_util.cc File chromeos/network/shill_property_util.cc (right): https://codereview.chromium.org/23551004/diff/36001/chromeos/network/shill_property_util.cc#newcode211 chromeos/network/shill_property_util.cc:211: type == shill::kTypeEthernetEap) { Let's ...
7 years, 3 months ago (2013-09-03 15:54:53 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/23551004/diff/36001/chromeos/network/shill_property_util.h File chromeos/network/shill_property_util.h (right): https://codereview.chromium.org/23551004/diff/36001/chromeos/network/shill_property_util.h#newcode35 chromeos/network/shill_property_util.h:35: scoped_ptr<NetworkUIData> GetUIDataFromShillDictionary( On 2013/09/03 15:54:53, stevenjb (chromium) wrote: > ...
7 years, 3 months ago (2013-09-04 09:19:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/23551004/53001
7 years, 3 months ago (2013-09-04 16:35:21 UTC) #6
stevenjb
https://codereview.chromium.org/23551004/diff/36001/chromeos/network/shill_property_util.h File chromeos/network/shill_property_util.h (right): https://codereview.chromium.org/23551004/diff/36001/chromeos/network/shill_property_util.h#newcode35 chromeos/network/shill_property_util.h:35: scoped_ptr<NetworkUIData> GetUIDataFromShillDictionary( On 2013/09/04 09:19:02, pneubeck wrote: > On ...
7 years, 3 months ago (2013-09-04 18:00:28 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 20:39:41 UTC) #8
Message was sent while issue was closed.
Change committed as 221260

Powered by Google App Engine
This is Rietveld 408576698