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

Unified Diff: media/base/media_keys.h

Issue 833963003: Pass key_information on SessionKeysChange message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN changes Created 5 years, 12 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
Index: media/base/media_keys.h
diff --git a/media/base/media_keys.h b/media/base/media_keys.h
index bdc41c5a4d784b0dc0550aba0265417e83054085..20beffd5ed7bbc8ca2f6e5648a700c55c48afd75 100644
--- a/media/base/media_keys.h
+++ b/media/base/media_keys.h
@@ -21,12 +21,14 @@ class Time;
namespace media {
class CdmContext;
+class CdmKeyInformation;
template <typename... T>
class CdmPromiseTemplate;
typedef CdmPromiseTemplate<std::string> NewSessionCdmPromise;
typedef CdmPromiseTemplate<> SimpleCdmPromise;
+typedef std::vector<CdmKeyInformation> CdmKeyInformationVector;
xhwang 2015/01/02 21:55:07 Throughout this CL, how about s/CdmKeyInformationV
xhwang 2015/01/02 21:55:07 Is it worth using ScopedVector here? If not, add a
jrummell 2015/01/05 22:17:59 Done.
jrummell 2015/01/05 22:17:59 Done.
// Performs media key operations.
//
@@ -136,7 +138,8 @@ typedef base::Callback<void(const std::string& web_session_id,
const std::string& error_message)> SessionErrorCB;
typedef base::Callback<void(const std::string& web_session_id,
- bool has_additional_usable_key)>
+ bool has_additional_usable_key,
+ const CdmKeyInformationVector& key_information)>
SessionKeysChangeCB;
typedef base::Callback<void(const std::string& web_session_id,

Powered by Google App Engine
This is Rietveld 408576698