diff options
Diffstat (limited to 'chromeos/dbus/flimflam_device_client.h')
-rw-r--r-- | chromeos/dbus/flimflam_device_client.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chromeos/dbus/flimflam_device_client.h b/chromeos/dbus/flimflam_device_client.h index 722f0c3..451a031 100644 --- a/chromeos/dbus/flimflam_device_client.h +++ b/chromeos/dbus/flimflam_device_client.h @@ -60,6 +60,14 @@ class CHROMEOS_EXPORT FlimflamDeviceClient { virtual void GetProperties(const dbus::ObjectPath& device_path, const DictionaryValueCallback& callback) = 0; + // DEPRECATED DO NOT USE: Calls GetProperties method and blocks until the + // method call finishes. The caller is responsible to delete the result. + // Thie method returns NULL when method call fails. + // + // TODO(hashimoto): Refactor CrosGetDeviceNetworkList and remove this method. + virtual base::DictionaryValue* CallGetPropertiesAndBlock( + const dbus::ObjectPath& device_path) = 0; + // Calls ProposeScan method. // |callback| is called after the method call finishes. virtual void ProposeScan(const dbus::ObjectPath& device_path, @@ -84,6 +92,15 @@ class CHROMEOS_EXPORT FlimflamDeviceClient { const std::string& method, const ObjectPathCallback& callback) = 0; + // DEPRECATED DO NOT USE: Calls AddIPConfig method and blocks until the method + // call finishes. + // This method returns an empty path when method call fails. + // + // TODO(hashimoto): Refactor CrosAddIPConfig and remove this method. + virtual dbus::ObjectPath CallAddIPConfigAndBlock( + const dbus::ObjectPath& device_path, + const std::string& method) = 0; + // Calls RequirePin method. // |callback| is called after the method call finishes. virtual void RequirePin(const dbus::ObjectPath& device_path, |