Index: chromeos/dbus/flimflam_device_client.h |
diff --git a/chromeos/dbus/flimflam_device_client.h b/chromeos/dbus/flimflam_device_client.h |
index 722f0c36f1b0dc2f12a6719965489fa40ca916a6..451a031f8f29e0f543decb5c364da3d0ef37f469 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, |