| Index: chromeos/network/network_device_handler.h
|
| diff --git a/chromeos/network/network_device_handler.h b/chromeos/network/network_device_handler.h
|
| index 9b6939913684f749968a4dd92ae4c59347fe0f2e..dda279cb0e19ddf74c49f22df18f3a63166b0450 100644
|
| --- a/chromeos/network/network_device_handler.h
|
| +++ b/chromeos/network/network_device_handler.h
|
| @@ -40,6 +40,7 @@ class CHROMEOS_EXPORT NetworkDeviceHandler {
|
| static const char kErrorPinBlocked[];
|
| static const char kErrorPinRequired[];
|
| static const char kErrorUnknown[];
|
| + static const char kErrorDeviceMissing[];
|
|
|
| NetworkDeviceHandler();
|
| virtual ~NetworkDeviceHandler();
|
| @@ -192,6 +193,14 @@ class CHROMEOS_EXPORT NetworkDeviceHandler {
|
| // available in the future.
|
| virtual void SetCellularAllowRoaming(bool allow_roaming) = 0;
|
|
|
| + // Attempts to enable or disable TDLS for the specified IP or MAC address for
|
| + // the active wifi device.
|
| + virtual void SetWifiTDLSEnabled(
|
| + const std::string& ip_or_mac_address,
|
| + bool enabled,
|
| + const network_handler::StringResultCallback& callback,
|
| + const network_handler::ErrorCallback& error_callback) = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(NetworkDeviceHandler);
|
| };
|
|
|