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

Unified Diff: media/filters/chunk_demuxer_client.h

Issue 10534096: Generalize AesDecryptor to make it more spec compliant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated to pass layout tests. Created 8 years, 6 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/filters/chunk_demuxer_client.h
diff --git a/media/filters/chunk_demuxer_client.h b/media/filters/chunk_demuxer_client.h
index 3fbe6e351d00e5705cd26e0a44595400e95cf57f..258d8a59f2c6b68612590f5cbd985ea7a5e6c4b8 100644
--- a/media/filters/chunk_demuxer_client.h
+++ b/media/filters/chunk_demuxer_client.h
@@ -25,7 +25,11 @@ class ChunkDemuxerClient {
// A decryption key associated with |init_data| may be needed to decrypt the
// media being demuxed before decoding. Note that the demuxing itself does not
// need decryption.
- virtual void KeyNeeded(scoped_array<uint8> init_data, int init_data_size) = 0;
+ virtual void DemuxerNeedKey(scoped_array<uint8> init_data,
+ int init_data_size) = 0;
+
+ protected:
+ ~ChunkDemuxerClient() {}
scherkus (not reviewing) 2012/06/13 23:35:08 virtual
xhwang 2012/06/15 01:41:04 Done. Also done for DecryptorClient::~DecryptorCli
ddorwin 2012/06/15 04:29:25 Why does this need to be virtual? Delete is never
scherkus (not reviewing) 2012/06/15 04:36:36 Refer to both Google C++ style guide (all methods
xhwang 2012/06/15 16:39:18 Yeah, I discussed this with scherkus and forwarded
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698