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

Unified Diff: chromeos/network/network_handler_callbacks.h

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
Index: chromeos/network/network_handler_callbacks.h
diff --git a/chromeos/network/network_handler_callbacks.h b/chromeos/network/network_handler_callbacks.h
index 3135bf9be7067d23e8b838da8029fcd601fecb69..b63a0af77c76b77ac2c71e71a9cec1fa09e525a5 100644
--- a/chromeos/network/network_handler_callbacks.h
+++ b/chromeos/network/network_handler_callbacks.h
@@ -39,6 +39,10 @@ typedef base::Callback<
typedef base::Callback<
void(const std::string& service_path)> StringResultCallback;
+typedef base::Callback<void(const std::string& service_path,
+ const std::string& guid)>
+ ServiceResultCallback;
+
// Create a DictionaryValue for passing to ErrorCallback.
CHROMEOS_EXPORT base::DictionaryValue* CreateErrorData(
const std::string& path,
« no previous file with comments | « chromeos/network/network_configuration_handler_unittest.cc ('k') | components/wifi_sync/wifi_config_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698