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

Unified Diff: media/mp4/mp4_stream_parser_unittest.cc

Issue 11313016: Add "type" in GenerateKeyRequest() and OnNeedKey(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/mp4/mp4_stream_parser_unittest.cc
diff --git a/media/mp4/mp4_stream_parser_unittest.cc b/media/mp4/mp4_stream_parser_unittest.cc
index 6d7221a9c5e6b7c93664db280b0da6da5198cc26..a68bd93035e380949393b0cd8cfc1a35329f781f 100644
--- a/media/mp4/mp4_stream_parser_unittest.cc
+++ b/media/mp4/mp4_stream_parser_unittest.cc
@@ -76,8 +76,10 @@ class MP4StreamParserTest : public testing::Test {
return true;
}
- bool KeyNeededF(scoped_array<uint8> init_data, int init_data_size) {
- DVLOG(1) << "KeyNeededF: " << init_data_size;
+ bool KeyNeededF(const std::string& type,
+ scoped_array<uint8> init_data, int init_data_size) {
+ DVLOG(1) << "KeyNeededF: type=" << type
ddorwin 2012/10/27 00:08:26 Shouldn't we just EXPECT_STREQ the type?
xhwang 2012/10/27 00:50:14 Done.
+ << ", init_data_size=" << init_data_size;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698