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

Unified Diff: ui/chromeos/network/network_connect.cc

Issue 1779633002: Invoke createNetwork() callback with GUID, not service name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more trybot failures Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/vpn_provider/vpn_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/network/network_connect.cc
diff --git a/ui/chromeos/network/network_connect.cc b/ui/chromeos/network/network_connect.cc
index 6fa57bcdb5d0dce6db9b5df9bd502b8cd298243c..f00b9f813f5eae549dde3b32c6446462cd38c0e7 100644
--- a/ui/chromeos/network/network_connect.cc
+++ b/ui/chromeos/network/network_connect.cc
@@ -99,7 +99,8 @@ class NetworkConnectImpl : public NetworkConnect {
void OnConfigureFailed(const std::string& error_name,
scoped_ptr<base::DictionaryValue> error_data);
void OnConfigureSucceeded(bool connect_on_configure,
- const std::string& service_path);
+ const std::string& service_path,
+ const std::string& guid);
void CallCreateConfiguration(base::DictionaryValue* properties,
bool shared,
bool connect_on_configure);
@@ -284,7 +285,8 @@ void NetworkConnectImpl::OnConfigureFailed(
}
void NetworkConnectImpl::OnConfigureSucceeded(bool connect_on_configure,
- const std::string& service_path) {
+ const std::string& service_path,
+ const std::string& guid) {
NET_LOG_USER("Configure Succeeded", service_path);
if (!connect_on_configure)
return;
« no previous file with comments | « extensions/browser/api/vpn_provider/vpn_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698