Index: dbus/bus.h |
diff --git a/dbus/bus.h b/dbus/bus.h |
index 4af07ce1089fc2585a3c0eb6ff5dd040458e8600..4b4a7ebbdbb4ed994d84ac96a5cdb57259b6d082 100644 |
--- a/dbus/bus.h |
+++ b/dbus/bus.h |
@@ -196,6 +196,13 @@ class Bus : public base::RefCountedThreadSafe<Bus> { |
virtual ObjectProxy* GetObjectProxy(const std::string& service_name, |
const std::string& object_path); |
+ // Same as above, but silence logging of |
+ // org.freedesktop.DBus.Error.ServiceUnknown errors. |
+ // This is useful for clients for whom the non-existence of the DBus |
+ // service in question can be safely ignored. |
+ virtual ObjectProxy* GetObjectProxyIgnoreUnknownService( |
satorux1
2012/02/10 08:12:52
Let's make this more generic, like GetObjectProxyW
adamk
2012/02/10 17:57:16
Done.
|
+ const std::string& service_name, const std::string& object_path); |
+ |
// Gets the exported object for the given service name and the object |
// path. The caller must not delete the returned object. |
// |