| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/message_loop.h" | 5 #include "base/message_loop.h" |
| 6 #include "chrome/common/gpu_messages.h" | |
| 7 #include "chrome/renderer/gpu_video_decoder_host.h" | 6 #include "chrome/renderer/gpu_video_decoder_host.h" |
| 8 #include "content/common/message_router.h" | 7 #include "content/common/message_router.h" |
| 8 #include "content/common/gpu_messages.h" |
| 9 #include "media/base/pipeline.h" | 9 #include "media/base/pipeline.h" |
| 10 #include "media/video/video_mock_objects.h" | 10 #include "media/video/video_mock_objects.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 13 |
| 14 using testing::_; | 14 using testing::_; |
| 15 using testing::DoAll; | 15 using testing::DoAll; |
| 16 using testing::NotNull; | 16 using testing::NotNull; |
| 17 using testing::Return; | 17 using testing::Return; |
| 18 using testing::SetArgumentPointee; | 18 using testing::SetArgumentPointee; |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 TEST_F(GpuVideoDecoderHostTest, ProduceVideoFrame) { | 256 TEST_F(GpuVideoDecoderHostTest, ProduceVideoFrame) { |
| 257 Initialize(); | 257 Initialize(); |
| 258 AllocateVideoFrames(); | 258 AllocateVideoFrames(); |
| 259 ProduceVideoFrame(0); | 259 ProduceVideoFrame(0); |
| 260 ReleaseVideoFrames(); | 260 ReleaseVideoFrames(); |
| 261 AllocateVideoFrames(); | 261 AllocateVideoFrames(); |
| 262 ProduceVideoFrame(kVideoFrames); | 262 ProduceVideoFrame(kVideoFrames); |
| 263 ReleaseVideoFrames(); | 263 ReleaseVideoFrames(); |
| 264 Uninitialize(); | 264 Uninitialize(); |
| 265 } | 265 } |
| OLD | NEW |