| Index: dbus/bus.h
|
| diff --git a/dbus/bus.h b/dbus/bus.h
|
| index 75de9a3d1e240d51b81ba208ff910df2a5df3942..e1384da7c4802d3ce807598a0865c696048a5d11 100644
|
| --- a/dbus/bus.h
|
| +++ b/dbus/bus.h
|
| @@ -230,6 +230,33 @@ class CHROME_DBUS_EXPORT Bus : public base::RefCountedThreadSafe<Bus> {
|
| const ObjectPath& object_path,
|
| int options);
|
|
|
| + // Removes the previously created object proxy for the given service
|
| + // name and the object path and releases its memory.
|
| + //
|
| + // If and object proxy for the given service name and object was
|
| + // created with GetObjectProxy, this function removes it from the
|
| + // bus object and detaches the ObjectProxy, invalidating any pointer
|
| + // previously acquired for it with GetObjectProxy. A subsequent call
|
| + // to GetObjectProxy will return a new object.
|
| + //
|
| + // All the object proxies are detached from remote objects at the
|
| + // shutdown time of the bus, but they can be detached early to reduce
|
| + // memory footprint and match rules for the bus connection.
|
| + //
|
| + // |service_name| looks like "org.freedesktop.NetworkManager", and
|
| + // |object_path| looks like "/org/freedesktop/NetworkManager/Devices/0".
|
| + //
|
| + // Must be called in the origin thread.
|
| + virtual void RemoveObjectProxy(const std::string& service_name,
|
| + const ObjectPath& object_path);
|
| +
|
| + // Same as above, but also takes a bitfield of ObjectProxy::Options.
|
| + // See object_proxy.h for available options.
|
| + virtual void RemoveObjectProxyWithOptions(
|
| + const std::string& service_name,
|
| + const ObjectPath& object_path,
|
| + int options);
|
| +
|
| // Gets the exported object for the given object path.
|
| // The caller must not delete the returned object.
|
| //
|
|
|