| Index: chromeos/network/managed_network_configuration_handler.h
|
| diff --git a/chromeos/network/managed_network_configuration_handler.h b/chromeos/network/managed_network_configuration_handler.h
|
| index e563fe48be88230bfda10a35a8284fd6a20555b4..12eba227b06e43f35cb2580081e27b638f5e41c5 100644
|
| --- a/chromeos/network/managed_network_configuration_handler.h
|
| +++ b/chromeos/network/managed_network_configuration_handler.h
|
| @@ -23,6 +23,8 @@ class ListValue;
|
|
|
| namespace chromeos {
|
|
|
| +class NetworkUIData;
|
| +
|
| // The ManagedNetworkConfigurationHandler class is used to create and configure
|
| // networks in ChromeOS using ONC and takes care of network policies.
|
| //
|
| @@ -64,6 +66,12 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandler {
|
| // Initialize() must be called before this.
|
| static ManagedNetworkConfigurationHandler* Get();
|
|
|
| + // Returns the NetworkUIData parsed from the UIData property of
|
| + // |shill_dictionary|. If parsing fails or the field doesn't exist, returns
|
| + // NULL.
|
| + static scoped_ptr<NetworkUIData> GetUIData(
|
| + const base::DictionaryValue& shill_dictionary);
|
| +
|
| // Provides the properties of the network with |service_path| to |callback|.
|
| void GetProperties(
|
| const std::string& service_path,
|
| @@ -88,20 +96,6 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandler {
|
| const base::Closure& callback,
|
| const network_handler::ErrorCallback& error_callback) const;
|
|
|
| - // Initiates a connection with network that has |service_path|. |callback| is
|
| - // called if the connection request was successfully handled. That doesn't
|
| - // mean that the connection was successfully established.
|
| - void Connect(const std::string& service_path,
|
| - const base::Closure& callback,
|
| - const network_handler::ErrorCallback& error_callback) const;
|
| -
|
| - // Initiates a disconnect with the network at |service_path|. |callback| is
|
| - // called if the diconnect request was successfully handled. That doesn't mean
|
| - // that the network is already diconnected.
|
| - void Disconnect(const std::string& service_path,
|
| - const base::Closure& callback,
|
| - const network_handler::ErrorCallback& error_callback) const;
|
| -
|
| // Initially configures an unconfigured network with the given user settings
|
| // and returns the new identifier to |callback| if successful. Fails if the
|
| // network was already configured by a call to this function or because of a
|
|
|