| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/formats/common/stream_parser_test_base.h" | 5 #include "media/formats/common/stream_parser_test_base.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "media/base/media_log.h" |
| 11 #include "media/base/media_track.h" | 12 #include "media/base/media_track.h" |
| 12 #include "media/base/media_tracks.h" | 13 #include "media/base/media_tracks.h" |
| 13 #include "media/base/test_data_util.h" | 14 #include "media/base/test_data_util.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 16 |
| 16 namespace media { | 17 namespace media { |
| 17 | 18 |
| 18 static std::string BufferQueueToString( | 19 static std::string BufferQueueToString( |
| 19 const StreamParser::BufferQueue& buffers) { | 20 const StreamParser::BufferQueue& buffers) { |
| 20 std::stringstream ss; | 21 std::stringstream ss; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 DVLOG(1) << __FUNCTION__; | 124 DVLOG(1) << __FUNCTION__; |
| 124 results_stream_ << "NewSegment"; | 125 results_stream_ << "NewSegment"; |
| 125 } | 126 } |
| 126 | 127 |
| 127 void StreamParserTestBase::OnEndOfSegment() { | 128 void StreamParserTestBase::OnEndOfSegment() { |
| 128 DVLOG(1) << __FUNCTION__; | 129 DVLOG(1) << __FUNCTION__; |
| 129 results_stream_ << "EndOfSegment"; | 130 results_stream_ << "EndOfSegment"; |
| 130 } | 131 } |
| 131 | 132 |
| 132 } // namespace media | 133 } // namespace media |
| OLD | NEW |