DescriptionFix minor issues about DBusThreadManager.
- Remove the global unstub_client_mask_ and accordingly make DBusThreadManager::IsUsingStub a non-static function. This makes it obvious when it's ok to call this function (and prevents misuse), namely only after the Manager is initialized.
- By moving the mask to the DBusClientBundle, the cyclic dependency between bundle and manager is broken. The Bundle does not know about the Manager anymore.
- Fix the difference between DBusClientTypeMask ("A set of DBusClients") and DBusClientType ("A single DBusClient").
BUG=408617
Committed: https://crrev.com/ef009f18ca95c0d7b3b4a330c190a2f24b29e003
Cr-Commit-Position: refs/heads/master@{#294361}
Patch Set 1 : #
Total comments: 7
Patch Set 2 : #Patch Set 3 : Rebased. #
Total comments: 4
Patch Set 4 : Addressed comments. #Messages
Total messages: 16 (5 generated)
|