Index: chromeos/dbus/shill_client_helper.h |
diff --git a/chromeos/dbus/shill_client_helper.h b/chromeos/dbus/shill_client_helper.h |
index a0225d0b7d3849fbef984d7f4d75553616cbfbaa..8782d90be40482cd4df5661092232ccee25ae6e4 100644 |
--- a/chromeos/dbus/shill_client_helper.h |
+++ b/chromeos/dbus/shill_client_helper.h |
@@ -79,6 +79,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 ObjectPathCallback& callback, |
+ const ErrorCallback& error_callback); |
+ |
// Calls a method with a dictionary value result. |
void CallDictionaryValueMethod(dbus::MethodCall* method_call, |
const DictionaryValueCallback& callback); |
@@ -128,6 +134,12 @@ class ShillClientHelper { |
void OnObjectPathMethod(const ObjectPathDBusMethodCallback& callback, |
dbus::Response* response); |
+ // Handles responses for methods with ObjectPath results. |
+ void OnObjectPathMethodWithoutStatus( |
+ const ObjectPathCallback& callback, |
+ const ErrorCallback& error_callback, |
+ dbus::Response* response); |
+ |
// Handles responses for methods with DictionaryValue results. |
void OnDictionaryValueMethod(const DictionaryValueCallback& callback, |
dbus::Response* response); |