diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-19 19:12:11 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-19 19:12:11 +0000 |
commit | d0d89add98eec9f0ebc749d65ff12f08ee6d993d (patch) | |
tree | fea86e533741b401e746f5d38a8ba9705a4b6b08 /dbus | |
parent | 5eab6e92779310a68cbea80cff0f7a30cebeffcd (diff) | |
download | chromium_src-d0d89add98eec9f0ebc749d65ff12f08ee6d993d.zip chromium_src-d0d89add98eec9f0ebc749d65ff12f08ee6d993d.tar.gz chromium_src-d0d89add98eec9f0ebc749d65ff12f08ee6d993d.tar.bz2 |
Track active references in ShillClientHelper
To prevent Shill Service DBus ObjectProxy instances from accumulating,
remove them when the service becomes inactive.
BUG=223483
Review URL: https://chromiumcodereview.appspot.com/23658053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/object_proxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h index 798ba97..72a4a59 100644 --- a/dbus/object_proxy.h +++ b/dbus/object_proxy.h @@ -153,6 +153,8 @@ class CHROME_DBUS_EXPORT ObjectProxy // BLOCKING CALL. virtual void Detach(); + const ObjectPath& object_path() const { return object_path_; } + // Returns an empty callback that does nothing. Can be used for // CallMethod(). static ResponseCallback EmptyResponseCallback(); |