Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Issue 687533004: Simplify use of ContentDecryptionModuleResult with promises (Closed)

Created:
6 years, 1 month ago by jrummell
Modified:
6 years, 1 month ago
CC:
blink-reviews, feature-media-reviews_chromium.org, philipj_slow, eric.carlson_apple.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Simplify use of ContentDecryptionModuleResult with promises Since ContentDecryptionModuleResult objects are often used to return promises, add ContentDecryptionModuleResultPromise as a base class that includes the promise and allow existing classes to only override the complete() method that they expect to get called. BUG=358271 TEST=existing EME tests pass Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185168

Patch Set 1 #

Total comments: 20

Patch Set 2 : Changes #

Messages

Total messages: 8 (2 generated)
jrummell
PTAL.
6 years, 1 month ago (2014-11-08 01:29:35 UTC) #2
ddorwin
https://codereview.chromium.org/687533004/diff/1/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h File Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h (right): https://codereview.chromium.org/687533004/diff/1/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h#newcode17 Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h:17: // ContentDecryptionModuleResult objects, and is to be derived from ...
6 years, 1 month ago (2014-11-11 22:44:09 UTC) #3
jrummell
Updated. https://codereview.chromium.org/687533004/diff/1/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h File Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h (right): https://codereview.chromium.org/687533004/diff/1/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h#newcode17 Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h:17: // ContentDecryptionModuleResult objects, and is to be derived ...
6 years, 1 month ago (2014-11-11 23:30:11 UTC) #4
ddorwin
lgtm Thanks.
6 years, 1 month ago (2014-11-12 01:14:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687533004/20001
6 years, 1 month ago (2014-11-12 01:22:51 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 02:26:10 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185168

Powered by Google App Engine
This is Rietveld 408576698