DBus: Bus::AddMatch and RemoveMatch support repeated rules.

This fix counts the number of times the same rule is added to a dbus::Bus
and removes the rule from the real DBus connection when all the copies of
the same match rule have been removed.

BUG=chromium:173054
TEST=BusTest.DoubleAddAndRemoveMatch passes.


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

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


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