diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-12 16:21:01 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-12 16:21:01 +0000 |
commit | 6b07fa26f4aa1a98e0aeb39c14ae6385d09e25a0 (patch) | |
tree | 36489014852573bb23f722d96308d1ad4a75f9cc /chromeos/network/network_device_handler.h | |
parent | d672a865964aee0819949778fa01abfe1c7d110d (diff) | |
download | chromium_src-6b07fa26f4aa1a98e0aeb39c14ae6385d09e25a0.zip chromium_src-6b07fa26f4aa1a98e0aeb39c14ae6385d09e25a0.tar.gz chromium_src-6b07fa26f4aa1a98e0aeb39c14ae6385d09e25a0.tar.bz2 |
Add NetworkDeviceHandler::RequestRefreshIPConfigs
This is needed for https://codereview.chromium.org/17995002/.
BUG=189080
R=armansito@chromium.org, pneubeck@chromium.org
Review URL: https://codereview.chromium.org/18873007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/network_device_handler.h')
-rw-r--r-- | chromeos/network/network_device_handler.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/chromeos/network/network_device_handler.h b/chromeos/network/network_device_handler.h index 7d0a5d3..851f1f9 100644 --- a/chromeos/network/network_device_handler.h +++ b/chromeos/network/network_device_handler.h @@ -46,6 +46,21 @@ class CHROMEOS_EXPORT NetworkDeviceHandler virtual ~NetworkDeviceHandler(); + // Gets the properties of the device with id |device_path|. See note on + // |callback| and |error_callback|, in class description above. + void GetDeviceProperties( + const std::string& device_path, + const network_handler::DictionaryResultCallback& callback, + const network_handler::ErrorCallback& error_callback) const; + + // Requests a refresh of the IP configuration for the device specified by + // |device_path| if it exists. This will apply any newly configured + // properties and renew the DHCP lease. + void RequestRefreshIPConfigs( + const std::string& device_path, + const base::Closure& callback, + const network_handler::ErrorCallback& error_callback); + // Tells the device to set the modem carrier firmware, as specified by // |carrier|. // @@ -143,7 +158,7 @@ class CHROMEOS_EXPORT NetworkDeviceHandler NetworkDeviceHandler(); - void HandleShillCallFailure( + void HandleShillCallFailureForTest( const std::string& device_path, const network_handler::ErrorCallback& error_callback, const std::string& error_name, |