| Index: chromeos/dbus/flimflam_client_helper.cc
|
| diff --git a/chromeos/dbus/flimflam_client_helper.cc b/chromeos/dbus/flimflam_client_helper.cc
|
| index bcba047b38d36ac6fb7a0135ad98b620e84fe4d5..a5ec96d395c6ad9291220bc31fe3fcad103975b3 100644
|
| --- a/chromeos/dbus/flimflam_client_helper.cc
|
| +++ b/chromeos/dbus/flimflam_client_helper.cc
|
| @@ -70,6 +70,21 @@ void FlimflamClientHelper::CallDictionaryValueMethod(
|
| callback));
|
| }
|
|
|
| +dbus::ObjectPath FlimflamClientHelper::CallObjectPathMethodAndBlock(
|
| + dbus::MethodCall* method_call) {
|
| + scoped_ptr<dbus::Response> response(
|
| + blocking_method_caller_.CallMethodAndBlock(method_call));
|
| + if (!response.get())
|
| + return dbus::ObjectPath();
|
| +
|
| + dbus::MessageReader reader(response.get());
|
| + dbus::ObjectPath result;
|
| + if (!reader.PopObjectPath(&result))
|
| + return dbus::ObjectPath();
|
| +
|
| + return result;
|
| +}
|
| +
|
| base::DictionaryValue* FlimflamClientHelper::CallDictionaryValueMethodAndBlock(
|
| dbus::MethodCall* method_call) {
|
| scoped_ptr<dbus::Response> response(
|
|
|