Index: chromeos/dbus/shill_client_helper.h |
diff --git a/chromeos/dbus/shill_client_helper.h b/chromeos/dbus/shill_client_helper.h |
index 84534e090c8acafb4e3babdb4ef4e882cf0818e2..bd2deaef5302208794085d17c2f3a46db6e633ad 100644 |
--- a/chromeos/dbus/shill_client_helper.h |
+++ b/chromeos/dbus/shill_client_helper.h |
@@ -77,6 +77,12 @@ class ShillClientHelper { |
void CallObjectPathMethod(dbus::MethodCall* method_call, |
const ObjectPathDBusMethodCallback& callback); |
+ // Calls a method with an object path result where there is an error callback. |
+ void CallObjectPathMethodWithErrorCallback( |
+ dbus::MethodCall* method_call, |
+ const ObjectPathCallbackWithoutStatus& callback, |
+ const ErrorCallback& error_callback); |
+ |
// Calls a method with a dictionary value result. |
void CallDictionaryValueMethod(dbus::MethodCall* method_call, |
const DictionaryValueCallback& callback); |
@@ -126,6 +132,11 @@ class ShillClientHelper { |
void OnObjectPathMethod(const ObjectPathDBusMethodCallback& callback, |
dbus::Response* response); |
+ // Handles responses for methods with ObjectPath results. |
+ void OnObjectPathMethodWithoutStatus( |
+ const ObjectPathCallbackWithoutStatus& callback, |
+ dbus::Response* response); |
+ |
// Handles responses for methods with DictionaryValue results. |
void OnDictionaryValueMethod(const DictionaryValueCallback& callback, |
dbus::Response* response); |