DescriptionRefactor CdmPromise and related classes
Move the implementation from CdmPromiseTemplate into a new templated
class CdmCallbackPromise class. CdmResultPromise can now override
resolve() and reject() without having to be concerned with the
callbacks.
Also convert the templates into variadic templates to avoid the
specialization for <void> (now just <>).
BUG=358271
TEST=existing EME tests still pass
Committed: https://crrev.com/60b669f6768594714aca8b72d1530ed2672c126b
Cr-Commit-Position: refs/heads/master@{#298554}
Patch Set 1 #
Total comments: 65
Patch Set 2 : changes #Patch Set 3 : Variadic Templates #
Total comments: 32
Patch Set 4 : MarkPromiseSettled #
Total comments: 2
Patch Set 5 : NewSessionCdmResultPromise #
Total comments: 4
Patch Set 6 : rebase plus nits #Patch Set 7 : add gn file #Patch Set 8 : Workaround for Windows #Patch Set 9 : rebase + override #
Messages
Total messages: 25 (8 generated)
|