dbus: Add function to issue no-reply method call
Analogous to the existing SendSignalWithNoArgumentsToSystemBus().
BUG=chromium-os:20115
TEST=none
Change-Id: I37bff8827c77c2abd7cd5528cca5e3a627b74698
Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/8093
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
diff --git a/chromeos/dbus/dbus.h b/chromeos/dbus/dbus.h
index 51e836a..c9e0e72 100644
--- a/chromeos/dbus/dbus.h
+++ b/chromeos/dbus/dbus.h
@@ -464,6 +464,14 @@
const char* interface_name,
const char* signal_name);
+// \brief Calls a method |method_name| with no arguments per the given |path|
+// and |interface_name|. Ignores return value.
+
+void CallMethodWithNoArguments(const char* service_name,
+ const char* path,
+ const char* interface_name,
+ const char* method_name);
+
// \brief Low-level signal monitor base class.
//
// Used when there is no definite named signal sender (that Proxy