DescriptionAdd support for dispatch contexts on BindingSet
Allows BindingSet<T>::AddBinding to associate an arbitrary
|context| value with a new binding when added. The set's
dispatch_context() accessor will return this value during
the extent of any message or error dispatch targeting
that specific binding.
Refactors BindingSet to simplify lifetime management
and allow it to be reused for associated bindings as well.
Also implements AddFilter for master interface bindings on
interface types which support associated interfaces, as this
was accidentally omitted when AddFilter was introduced.
BUG=612500
R=yzshen@chromium.org
Committed: https://crrev.com/21bb88540cbc926f52b7e6547984ea772c441a69
Cr-Commit-Position: refs/heads/master@{#414809}
Patch Set 1 #Patch Set 2 : . #
Total comments: 7
Patch Set 3 : . #Patch Set 4 : comments #Patch Set 5 : . #
Total comments: 2
Patch Set 6 : . #
Messages
Total messages: 32 (23 generated)
|