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

Unified Diff: chromeos/network/managed_network_configuration_handler_impl.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/managed_network_configuration_handler_impl.h
diff --git a/chromeos/network/managed_network_configuration_handler_impl.h b/chromeos/network/managed_network_configuration_handler_impl.h
index a6337f3d859313b3bfeee4970188fa333e34cbd3..c94e446729e867d032efb34bc94793c437245041 100644
--- a/chromeos/network/managed_network_configuration_handler_impl.h
+++ b/chromeos/network/managed_network_configuration_handler_impl.h
@@ -62,7 +62,7 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandlerImpl
void CreateConfiguration(
const std::string& userhash,
const base::DictionaryValue& properties,
- const network_handler::StringResultCallback& callback,
+ const network_handler::ServiceResultCallback& callback,
const network_handler::ErrorCallback& error_callback) const override;
void RemoveConfiguration(
@@ -152,7 +152,8 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandlerImpl
const Policies* GetPoliciesForUser(const std::string& userhash) const;
const Policies* GetPoliciesForProfile(const NetworkProfile& profile) const;
- void OnPolicyAppliedToNetwork(const std::string& service_path);
+ void OnPolicyAppliedToNetwork(const std::string& service_path,
+ const std::string& guid);
// Helper method to append associated Device properties to |properties|.
void GetDeviceStateProperties(const std::string& service_path,

Powered by Google App Engine
This is Rietveld 408576698