diff options
author | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 00:37:12 +0000 |
---|---|---|
committer | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 00:37:12 +0000 |
commit | 95777fb6a2114e41412cb805f003344790baef45 (patch) | |
tree | a3aeb6db2963dbaac4f550a51fb8c309a6246f40 /chromeos/network/network_device_handler.h | |
parent | acfaf4ce2df49dc4bdef0f1cbf270fa19acf1869 (diff) | |
download | chromium_src-95777fb6a2114e41412cb805f003344790baef45.zip chromium_src-95777fb6a2114e41412cb805f003344790baef45.tar.gz chromium_src-95777fb6a2114e41412cb805f003344790baef45.tar.bz2 |
Change ChooseMobileNetworkUI to use the new NetworkHandlers.
Removed the NetworkLibrary dependency from ChooseMobileNetworkHandler.
BUG=258566
Review URL: https://chromiumcodereview.appspot.com/19759007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/network_device_handler.h')
-rw-r--r-- | chromeos/network/network_device_handler.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chromeos/network/network_device_handler.h b/chromeos/network/network_device_handler.h index 300cbf5..7cb2f52 100644 --- a/chromeos/network/network_device_handler.h +++ b/chromeos/network/network_device_handler.h @@ -90,6 +90,18 @@ class CHROMEOS_EXPORT NetworkDeviceHandler { const base::Closure& callback, const network_handler::ErrorCallback& error_callback); + // Tells the device specified by |device_path| to register to the cellular + // network with id |network_id|. If |network_id| is empty then registration + // will proceed in automatic mode, which will cause the modem to register + // with the home network. + // This call is only available on cellular devices and will fail with + // Error.NotSupported on all other technologies. + void RegisterCellularNetwork( + const std::string& device_path, + const std::string& network_id, + const base::Closure& callback, + const network_handler::ErrorCallback& error_callback); + // Tells the device to set the modem carrier firmware, as specified by // |carrier|. // |