Description[Extensions Bindings] Add APIBindingsSystem
Add an APIBindingsSystem class that contains the necessary bits and
pieces to construct the extension API bindings (the request handler,
reference map, and collection of APIBinding objects). This object can
vend API instances for a given API name, notifies when an API method is
called, and fields any callbacks into the request handler.
Add tests for the same, including one which demonstrates how we might
set this up in the real world, i.e. using actual Extension APIs.
BUG=653596
Committed: https://crrev.com/7616e8614f857f4366ca2127e9a7ea1fc2f48a6e
Cr-Commit-Position: refs/heads/master@{#428851}
Patch Set 1 : woot #
Total comments: 12
Patch Set 2 : jbroman's initial #Patch Set 3 : rebase #
Total comments: 2
Patch Set 4 : rebase #Patch Set 5 : rebase #Patch Set 6 : optional null type definitions #
Total comments: 2
Patch Set 7 : lazyboy's #
Messages
Total messages: 30 (19 generated)
|