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

Unified Diff: media/base/cdm_promise.h

Issue 448893002: Update ClearKey to support CDM_6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cdm6
Patch Set: Changes2 Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/crypto/proxy_decryptor.cc ('k') | media/base/cdm_promise.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cdm_promise.h
diff --git a/media/base/cdm_promise.h b/media/base/cdm_promise.h
index ad1d196ad6e003f2fcb86be2c8ec6ae07e51db35..041504d30a2d039b9a5b3193e6699a4ae2f08e48 100644
--- a/media/base/cdm_promise.h
+++ b/media/base/cdm_promise.h
@@ -57,6 +57,11 @@ class MEDIA_EXPORT CdmPromiseTemplate : public CdmPromise {
virtual ~CdmPromiseTemplate();
virtual void resolve(const T& result);
+ protected:
+ // Allow subclasses to completely override the implementation.
+ // TODO(jrummell): Remove when derived classes are no longer needed.
ddorwin 2014/08/13 21:35:52 Which derived classes? Be specific so it's easy to
jrummell 2014/08/13 21:44:08 Done.
+ CdmPromiseTemplate();
+
private:
base::Callback<void(const T&)> resolve_cb_;
« no previous file with comments | « content/renderer/media/crypto/proxy_decryptor.cc ('k') | media/base/cdm_promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698