summaryrefslogtreecommitdiffstats
path: root/dbus/object_manager.h
Commit message (Collapse)AuthorAgeFilesLines
* change OVERRIDE to override in dbus/object_manager.h in commentmostynb2014-10-161-1/+1
| | | | | | | | | TBR=keybuk@chromium.org BUG=417463 Review URL: https://codereview.chromium.org/652663002 Cr-Commit-Position: refs/heads/master@{#299962}
* dbus::ObjectManager: Add a match rule for properties before GetManagedObjects.armansito2014-09-051-0/+39
| | | | | | | | | | | | | | | | | | | There is a race condition in the way that match rules get set up for object proxies created in response to GetManagedObjects that may cause us the miss PropertiesChanged signals if they're received before the match rule and filter function get added by ObjectProxy. This patch changes this to work the "intended" way: ObjectManager now adds a single match rule for its corresponding service name, and specifically for the org.freedesktop.DBus.Properties.PropertiesChanged signal. Once it receives the signal, ObjectManager dispatches the signal to the corresponding PropertySet. BUG=407109,400768 TEST=dbus_unittests Review URL: https://codereview.chromium.org/510863002 Cr-Commit-Position: refs/heads/master@{#293551}
* dbus: Handle NameOwnerChanged in ObjectManagerkeybuk@chromium.org2014-03-071-0/+6
| | | | | | | | | | | | | | | | Since the ObjectManager class managers the set of object proxies and properties structures for remote service it needs to handle the NameOwnerChanged signal, deleting the current set of objects when a previously owned name changes to a new owner (or is released) and re-requesting the set of managed objects when a name is claimed by a new owner. BUG=346975 TEST=dbus_unittests Review URL: https://codereview.chromium.org/177703006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255495 0039d316-1c4b-4281-b951-d872f2087c98
* Support D-Bus Object Managerkeybuk@chromium.org2013-03-251-0/+316
Object Manager is a new standard D-Bus interface, closely related to the Properties interface. It is used by BlueZ 5.x thus the need to implement it now. The intended use is that Chrome D-Bus Client singletons set up a link to an object manager in their constructor and register themselves to handle their particular interface. BUG=220951 TEST=dbus_unittests Review URL: https://codereview.chromium.org/12491014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190440 0039d316-1c4b-4281-b951-d872f2087c98