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/network_configuration_handler.h

Issue 21046008: Convert all connect code to use NetworkHandler instead of NetworkLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NetworkConfigurationHandler::SetNetworkProfile Created 7 years, 4 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_configuration_handler.h
diff --git a/chromeos/network/network_configuration_handler.h b/chromeos/network/network_configuration_handler.h
index 9ef1131579d6e8472c8db2c7a5d4d33e5c80136c..42ed6d396685135bec27bab304a2758ef7e81267 100644
--- a/chromeos/network/network_configuration_handler.h
+++ b/chromeos/network/network_configuration_handler.h
@@ -99,6 +99,14 @@ class CHROMEOS_EXPORT NetworkConfigurationHandler
const base::Closure& callback,
const network_handler::ErrorCallback& error_callback);
+ // Changes the profile for the network |service_path| to |profile_path|.
+ // See note on |callback| and |error_callback| in class description above.
+ void SetNetworkProfile(const std::string& service_path,
+ const std::string& profile_path,
+ const base::Closure& callback,
+ const network_handler::ErrorCallback& error_callback);
+
pneubeck (no reviews) 2013/08/08 11:10:00 nit: remove one empty line
stevenjb 2013/08/08 19:00:56 Done.
+
// Construct and initialize an instance for testing.
static NetworkConfigurationHandler* InitializeForTest(
NetworkStateHandler* network_state_handler);

Powered by Google App Engine
This is Rietveld 408576698