| Index: chromeos/dbus/fake_shill_device_client.h
|
| diff --git a/chromeos/dbus/fake_shill_device_client.h b/chromeos/dbus/fake_shill_device_client.h
|
| index cb5b859ead35a5805c9f2d00a54f8c4716737da9..ac8f565463397630aad519408faa875c01de9eb8 100644
|
| --- a/chromeos/dbus/fake_shill_device_client.h
|
| +++ b/chromeos/dbus/fake_shill_device_client.h
|
| @@ -76,6 +76,13 @@ class CHROMEOS_EXPORT FakeShillDeviceClient
|
| virtual void Reset(const dbus::ObjectPath& device_path,
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) OVERRIDE;
|
| + virtual void PerformTDLSOperation(
|
| + const dbus::ObjectPath& device_path,
|
| + const std::string& operation,
|
| + const std::string& peer,
|
| + const StringCallback& callback,
|
| + const ErrorCallback& error_callback) OVERRIDE;
|
| +
|
| virtual ShillDeviceClient::TestInterface* GetTestInterface() OVERRIDE;
|
|
|
| // ShillDeviceClient::TestInterface overrides.
|
| @@ -89,6 +96,8 @@ class CHROMEOS_EXPORT FakeShillDeviceClient
|
| const base::Value& value) OVERRIDE;
|
| virtual std::string GetDevicePathForType(const std::string& type) OVERRIDE;
|
|
|
| + void set_tdls_busy_count(int count) { tdls_busy_count_ = count; }
|
| +
|
| private:
|
| typedef ObserverList<ShillPropertyChangedObserver> PropertyObserverList;
|
|
|
| @@ -110,6 +119,8 @@ class CHROMEOS_EXPORT FakeShillDeviceClient
|
| // Observer list for each device.
|
| std::map<dbus::ObjectPath, PropertyObserverList*> observer_list_;
|
|
|
| + int tdls_busy_count_; // Number of times to return InProgress for TDLS.
|
| +
|
| // Note: This should remain the last member so it'll be destroyed and
|
| // invalidate its weak pointers before any other members are destroyed.
|
| base::WeakPtrFactory<FakeShillDeviceClient> weak_ptr_factory_;
|
|
|