OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <deque> | 5 #include <deque> |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/thread.h" | 8 #include "base/threading/thread.h" |
9 #include "media/base/filters.h" | 9 #include "media/base/filters.h" |
10 #include "media/base/mock_ffmpeg.h" | 10 #include "media/base/mock_ffmpeg.h" |
11 #include "media/base/mock_filter_host.h" | 11 #include "media/base/mock_filter_host.h" |
12 #include "media/base/mock_filters.h" | 12 #include "media/base/mock_filters.h" |
13 #include "media/base/mock_reader.h" | 13 #include "media/base/mock_reader.h" |
14 #include "media/ffmpeg/ffmpeg_common.h" | 14 #include "media/ffmpeg/ffmpeg_common.h" |
15 #include "media/filters/ffmpeg_demuxer.h" | 15 #include "media/filters/ffmpeg_demuxer.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 using ::testing::AnyNumber; | 18 using ::testing::AnyNumber; |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 { | 755 { |
756 SCOPED_TRACE(""); | 756 SCOPED_TRACE(""); |
757 InitializeDemuxer(); | 757 InitializeDemuxer(); |
758 } | 758 } |
759 EXPECT_CALL(*data_source_, IsStreaming()) | 759 EXPECT_CALL(*data_source_, IsStreaming()) |
760 .WillOnce(Return(false)); | 760 .WillOnce(Return(false)); |
761 EXPECT_FALSE(demuxer_->IsStreaming()); | 761 EXPECT_FALSE(demuxer_->IsStreaming()); |
762 } | 762 } |
763 | 763 |
764 } // namespace media | 764 } // namespace media |
OLD | NEW |