| Index: chromeos/dbus/blocking_method_caller.h | 
| diff --git a/chromeos/dbus/blocking_method_caller.h b/chromeos/dbus/blocking_method_caller.h | 
| index c70c6748940238cceab1d200afe9c31d59adc1e8..6dad566d9ccc59c8eb6fe2c6f4d215c7563438b3 100644 | 
| --- a/chromeos/dbus/blocking_method_caller.h | 
| +++ b/chromeos/dbus/blocking_method_caller.h | 
| @@ -14,6 +14,7 @@ namespace dbus { | 
|  | 
| class Bus; | 
| class ObjectProxy; | 
| +class ScopedDBusError; | 
|  | 
| }  // namespace dbus | 
|  | 
| @@ -31,6 +32,12 @@ class CHROMEOS_EXPORT BlockingMethodCaller { | 
| std::unique_ptr<dbus::Response> CallMethodAndBlock( | 
| dbus::MethodCall* method_call); | 
|  | 
| +  // Calls the method and blocks until it returns. Populates the |error| and | 
| +  // returns null in case of an error. | 
| +  std::unique_ptr<dbus::Response> CallMethodAndBlockWithError( | 
| +      dbus::MethodCall* method_call, | 
| +      dbus::ScopedDBusError* error_out); | 
| + | 
| private: | 
| dbus::Bus* bus_; | 
| dbus::ObjectProxy* proxy_; | 
|  |