Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6554)

Unified Diff: chromeos/dbus/flimflam_client_helper.cc

Issue 10078007: Add chromeos::FlimflamDeviceClient::CallGetPropertiesAndBlock/CallAddIPConfigAndBlock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/flimflam_client_helper.h ('k') | chromeos/dbus/flimflam_device_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chromeos/dbus/flimflam_client_helper.h ('k') | chromeos/dbus/flimflam_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698