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

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: fix the DCHECK where init_data_type_ is set but NeedKey from decoder passes empty "type". 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
« no previous file with comments | « media/base/decryptor.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « media/base/decryptor.h ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698