| Index: media/filters/source_buffer_stream_unittest.cc
|
| diff --git a/media/filters/source_buffer_stream_unittest.cc b/media/filters/source_buffer_stream_unittest.cc
|
| index 8f518766472019feeb22b8a3db31858c459fc0bf..414cca248bf924abadde21edcb49aebc786cd76c 100644
|
| --- a/media/filters/source_buffer_stream_unittest.cc
|
| +++ b/media/filters/source_buffer_stream_unittest.cc
|
| @@ -25,11 +25,6 @@ using ::testing::HasSubstr;
|
| using ::testing::InSequence;
|
| using ::testing::StrictMock;
|
|
|
| -// Helper macros to reduce boilerplate when verifying media log entries.
|
| -#define EXPECT_MEDIA_LOG_STRING(x) \
|
| - EXPECT_CALL(*media_log_, DoAddEventLogString((x)))
|
| -#define CONTAINS_STRING(arg, x) (std::string::npos != (arg).find(x))
|
| -
|
| namespace media {
|
|
|
| typedef StreamParser::BufferQueue BufferQueue;
|
| @@ -41,6 +36,8 @@ static const uint8 kDataB = 0x33;
|
| static const int kDataSize = 1;
|
|
|
| // Matchers for verifying common media log entry strings.
|
| +#define CONTAINS_STRING(arg, x) (std::string::npos != (arg).find(x))
|
| +
|
| MATCHER(ContainsMissingKeyframeLog, "") {
|
| return CONTAINS_STRING(arg,
|
| "Media segment did not begin with key frame. Support "
|
|
|