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

Issue 1779633002: Invoke createNetwork() callback with GUID, not service name (Closed)

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

Description

Invoke createNetwork() callback with GUID, not service name The current implementation doesn't match the API spec. Fix this. BUG=593196 TEST=go to chrome://settings/network , ctrl-shift-i, run in console: chrome.networkingPrivate.createNetwork(false, {"Type":"WiFi","WiFi":{"SSID":"GoogleGuest","AutoConnect":true}}, function(x) { console.log(x); }) Committed: https://crrev.com/f1da84b10359d62c67a73e46da90b0d0510a0768 Cr-Commit-Position: refs/heads/master@{#381347}

Patch Set 1 #

Patch Set 2 : pass both service_path and guid arguments to all callbacks #

Total comments: 6

Patch Set 3 : fix build/test failures #

Patch Set 4 : don't pass GUID argument to non-cros callers #

Patch Set 5 : fix more trybot failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -52 lines) Patch
M chrome/browser/chromeos/login/helper.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/helper.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/net/onc_utils.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/vpn_provider/vpn_provider_apitest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc View 1 1 chunk +6 lines, -8 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/managed_network_configuration_handler_impl.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_impl.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chromeos/network/mock_managed_network_configuration_handler.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/network_configuration_handler.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/network/network_configuration_handler.cc View 1 2 chunks +9 lines, -4 lines 0 comments Download
M chromeos/network/network_configuration_handler_unittest.cc View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M chromeos/network/network_handler_callbacks.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/wifi_sync/wifi_config_delegate_chromeos.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download
M components/wifi_sync/wifi_config_delegate_chromeos_unittest.cc View 1 2 3 4 5 chunks +10 lines, -11 lines 0 comments Download
M extensions/browser/api/networking_private/networking_private_chromeos.cc View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M extensions/browser/api/vpn_provider/vpn_service.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/api/vpn_provider/vpn_service.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/chromeos/network/network_connect.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
Kevin Cernekee
4 years, 9 months ago (2016-03-10 01:04:41 UTC) #2
stevenjb
https://codereview.chromium.org/1779633002/diff/20001/extensions/browser/api/networking_private/networking_private_chromeos.cc File extensions/browser/api/networking_private/networking_private_chromeos.cc (right): https://codereview.chromium.org/1779633002/diff/20001/extensions/browser/api/networking_private/networking_private_chromeos.cc#newcode319 extensions/browser/api/networking_private/networking_private_chromeos.cc:319: user_id_hash, *properties, success_callback, By passing |success_callback| here directly, we ...
4 years, 9 months ago (2016-03-10 01:49:10 UTC) #3
Kevin Cernekee
https://codereview.chromium.org/1779633002/diff/20001/extensions/browser/api/networking_private/networking_private_chromeos.cc File extensions/browser/api/networking_private/networking_private_chromeos.cc (right): https://codereview.chromium.org/1779633002/diff/20001/extensions/browser/api/networking_private/networking_private_chromeos.cc#newcode319 extensions/browser/api/networking_private/networking_private_chromeos.cc:319: user_id_hash, *properties, success_callback, On 2016/03/10 01:49:10, stevenjb wrote: > ...
4 years, 9 months ago (2016-03-11 01:53:58 UTC) #4
stevenjb
lgtm
4 years, 9 months ago (2016-03-12 01:52:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779633002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779633002/80001
4 years, 9 months ago (2016-03-12 01:53:55 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/156481)
4 years, 9 months ago (2016-03-12 02:04:45 UTC) #9
Kevin Cernekee
Hi guys, need a couple more OWNERS approvals for this minor API change. Could you ...
4 years, 9 months ago (2016-03-12 02:10:04 UTC) #11
jochen (gone - plz use gerrit)
what files do you want me to review?
4 years, 9 months ago (2016-03-14 14:24:18 UTC) #12
Kevin Cernekee
On 2016/03/14 14:24:18, jochen wrote: > what files do you want me to review? jochen ...
4 years, 9 months ago (2016-03-14 19:10:28 UTC) #13
Nicolas Zea
chrome/browser/sync lgtm
4 years, 9 months ago (2016-03-14 22:43:00 UTC) #14
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-15 21:01:20 UTC) #15
Kevin Cernekee
+emaxx for VPN review
4 years, 9 months ago (2016-03-15 21:03:24 UTC) #17
emaxx
On 2016/03/15 21:03:24, Kevin Cernekee wrote: > +emaxx for VPN review lgtm for VPN
4 years, 9 months ago (2016-03-15 22:31:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779633002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779633002/80001
4 years, 9 months ago (2016-03-15 22:40:17 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-15 23:33:18 UTC) #21
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 23:35:21 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f1da84b10359d62c67a73e46da90b0d0510a0768
Cr-Commit-Position: refs/heads/master@{#381347}

Powered by Google App Engine
This is Rietveld 408576698