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

Unified Diff: media/base/decryptor_client.h

Issue 11313016: Add "type" in GenerateKeyRequest() and OnNeedKey(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments resolved Created 8 years, 2 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/decryptor_client.h
diff --git a/media/base/decryptor_client.h b/media/base/decryptor_client.h
index 9db50cec662b06dd3675f5ac300cc17bb9896c45..dc644193febd8ceeb9e2d583af92c2601ecbd402 100644
--- a/media/base/decryptor_client.h
+++ b/media/base/decryptor_client.h
@@ -36,8 +36,11 @@ class DecryptorClient {
// Signals that a key is needed for decryption. |key_system| and |session_id|
// can be empty if the key system has not been selected.
+ // TODO(xhwang): Figure out if "type" is optional for NeedKey fired from the
+ // decoder.
virtual void NeedKey(const std::string& key_system,
const std::string& session_id,
+ const std::string& type,
scoped_array<uint8> init_data,
int init_data_length) = 0;

Powered by Google App Engine
This is Rietveld 408576698