D-Bus: ObjectProxy remove function for Bus object.

This implements a remove function for an ObjectProxy owned by a bus
object. Although the Bus object removes all the objects at shutdown,
this functions permits to reduce the memory usage for objects no
longer needed and reduce the number of dbus matching rules used in
the bus connection.

BUG=chromium:170182
TEST=BusTest.RemoveObjectProxy (run out/Debug/dbus_unittests)


Review URL: https://chromiumcodereview.appspot.com/12022004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179400 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 38ecdc8a47778b52d7404ce69088ff8b6b2b3725
3 files changed
tree: e01982da9470a5cd73d613ebecc20dfc596b5eb8
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/