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

Issue 831693005: wifi_sync: add function to create a network in Shill (Closed)

Created:
5 years, 11 months ago by mukesh agrawal
Modified:
5 years, 11 months ago
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@submit-4.0-wifi-security-class
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

wifi_sync: add function to create a network in Shill We're going to need to create networks from multiple places, so let's put the code someplace where it can be re-used. (The two places we'll need this from are a) WifiConfigDelegate, which creates networks in the normal case, and b) sync integration tests.) BUG=chromium:431435 TEST=components_unittests --gtest_filter="Wifi*"

Patch Set 1 #

Total comments: 4

Patch Set 2 : rename managed_net_config_handler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M components/wifi_sync/network_state_helper_chromeos.h View 1 chunk +15 lines, -0 lines 0 comments Download
M components/wifi_sync/network_state_helper_chromeos.cc View 1 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
mukesh agrawal
5 years, 11 months ago (2015-01-07 18:37:34 UTC) #3
mukesh agrawal
On 2015/01/07 18:37:34, mukesh agrawal wrote: The build failure is due to this being an ...
5 years, 11 months ago (2015-01-07 18:48:41 UTC) #4
stevenjb
This looks good, but we should definitely have a test for this using the Fake ...
5 years, 11 months ago (2015-01-07 19:29:58 UTC) #5
stevenjb
+pneubeck@
5 years, 11 months ago (2015-01-07 19:30:36 UTC) #7
erikwright (departed)
As mentioned, needs a test. Otherwise LG. https://codereview.chromium.org/831693005/diff/1/components/wifi_sync/network_state_helper_chromeos.h File components/wifi_sync/network_state_helper_chromeos.h (right): https://codereview.chromium.org/831693005/diff/1/components/wifi_sync/network_state_helper_chromeos.h#newcode24 components/wifi_sync/network_state_helper_chromeos.h:24: // asynchronously, ...
5 years, 11 months ago (2015-01-07 20:07:15 UTC) #8
mukesh agrawal
On 2015/01/07 19:29:58, stevenjb wrote: > This looks good, but we should definitely have a ...
5 years, 11 months ago (2015-01-07 22:07:14 UTC) #9
mukesh agrawal
On 2015/01/07 22:07:14, mukesh agrawal wrote: > In particular, I think the test for this ...
5 years, 11 months ago (2015-01-07 22:11:45 UTC) #10
mukesh agrawal
https://codereview.chromium.org/831693005/diff/1/components/wifi_sync/network_state_helper_chromeos.cc File components/wifi_sync/network_state_helper_chromeos.cc (right): https://codereview.chromium.org/831693005/diff/1/components/wifi_sync/network_state_helper_chromeos.cc#newcode20 components/wifi_sync/network_state_helper_chromeos.cc:20: chromeos::ManagedNetworkConfigurationHandler* managed_net_config_handler, On 2015/01/07 19:29:58, stevenjb wrote: > nit: ...
5 years, 11 months ago (2015-01-07 22:14:18 UTC) #11
stevenjb
On 2015/01/07 22:11:45, mukesh agrawal wrote: > On 2015/01/07 22:07:14, mukesh agrawal wrote: > > ...
5 years, 11 months ago (2015-01-07 22:31:12 UTC) #12
mukesh agrawal
5 years, 11 months ago (2015-01-08 02:06:39 UTC) #13
Thanks, Steven. After some more thought, I realized that, since I'm just
converting a WifiCredential to an ONC dictionary, the code would fit better in
WifiCredential.

To that end, I've posted https://codereview.chromium.org/809803005/, and I'll
abandon this CL. (Sorry for the churn.)

Powered by Google App Engine
This is Rietveld 408576698