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

Unified Diff: media/formats/mp2t/mp2t_stream_parser_unittest.cc

Issue 1235793005: Deprecate LogCB in favor of using MediaLog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and attempt to fix Android compilation Created 5 years, 5 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/formats/mp2t/mp2t_stream_parser.cc ('k') | media/formats/mp4/aac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp2t/mp2t_stream_parser_unittest.cc
diff --git a/media/formats/mp2t/mp2t_stream_parser_unittest.cc b/media/formats/mp2t/mp2t_stream_parser_unittest.cc
index 263f117358ec32d9372c895344286e1487fff4f2..6663a054814262dca5aa63809798656d3f6328db 100644
--- a/media/formats/mp2t/mp2t_stream_parser_unittest.cc
+++ b/media/formats/mp2t/mp2t_stream_parser_unittest.cc
@@ -186,20 +186,15 @@ class Mp2tStreamParserTest : public testing::Test {
void InitializeParser() {
parser_->Init(
- base::Bind(&Mp2tStreamParserTest::OnInit,
- base::Unretained(this)),
- base::Bind(&Mp2tStreamParserTest::OnNewConfig,
- base::Unretained(this)),
- base::Bind(&Mp2tStreamParserTest::OnNewBuffers,
- base::Unretained(this)),
+ base::Bind(&Mp2tStreamParserTest::OnInit, base::Unretained(this)),
+ base::Bind(&Mp2tStreamParserTest::OnNewConfig, base::Unretained(this)),
+ base::Bind(&Mp2tStreamParserTest::OnNewBuffers, base::Unretained(this)),
true,
- base::Bind(&Mp2tStreamParserTest::OnKeyNeeded,
- base::Unretained(this)),
- base::Bind(&Mp2tStreamParserTest::OnNewSegment,
- base::Unretained(this)),
+ base::Bind(&Mp2tStreamParserTest::OnKeyNeeded, base::Unretained(this)),
+ base::Bind(&Mp2tStreamParserTest::OnNewSegment, base::Unretained(this)),
base::Bind(&Mp2tStreamParserTest::OnEndOfSegment,
base::Unretained(this)),
- LogCB());
+ new MediaLog());
}
bool ParseMpeg2TsFile(const std::string& filename, int append_bytes) {
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser.cc ('k') | media/formats/mp4/aac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698