| Index: chromeos/dbus/shill_service_client.h
|
| diff --git a/chromeos/dbus/shill_service_client.h b/chromeos/dbus/shill_service_client.h
|
| index 11ae6093e9a229065cbca36b2d0a3ed4db1f768b..891c8b84b4d7fb9625b32802f531d0c07c7d4795 100644
|
| --- a/chromeos/dbus/shill_service_client.h
|
| +++ b/chromeos/dbus/shill_service_client.h
|
| @@ -65,13 +65,15 @@ class CHROMEOS_EXPORT ShillServiceClient {
|
| virtual void SetProperty(const dbus::ObjectPath& service_path,
|
| const std::string& name,
|
| const base::Value& value,
|
| - const VoidDBusMethodCallback& callback) = 0;
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) = 0;
|
|
|
| // Calls ClearProperty method.
|
| // |callback| is called after the method call succeeds.
|
| virtual void ClearProperty(const dbus::ObjectPath& service_path,
|
| const std::string& name,
|
| - const VoidDBusMethodCallback& callback) = 0;
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) = 0;
|
|
|
| // Calls Connect method.
|
| // |callback| is called after the method call succeeds.
|
| @@ -82,19 +84,22 @@ class CHROMEOS_EXPORT ShillServiceClient {
|
| // Calls Disconnect method.
|
| // |callback| is called after the method call succeeds.
|
| virtual void Disconnect(const dbus::ObjectPath& service_path,
|
| - const VoidDBusMethodCallback& callback) = 0;
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) = 0;
|
|
|
| // Calls Remove method.
|
| // |callback| is called after the method call succeeds.
|
| virtual void Remove(const dbus::ObjectPath& service_path,
|
| - const VoidDBusMethodCallback& callback) = 0;
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) = 0;
|
|
|
| // Calls ActivateCellularModem method.
|
| // |callback| is called after the method call succeeds.
|
| virtual void ActivateCellularModem(
|
| const dbus::ObjectPath& service_path,
|
| const std::string& carrier,
|
| - const VoidDBusMethodCallback& callback) = 0;
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) = 0;
|
|
|
| // DEPRECATED DO NOT USE: Calls ActivateCellularModem method and blocks until
|
| // the method call finishes.
|
|
|