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

Side by Side Diff: content/renderer/gpu_video_decoder_host_unittest.cc

Issue 6713005: Move a bunch of gpu/worker/plugin renderer code to content. I temporarily disabled the sad plugi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/gpu_video_decoder_host.cc ('k') | content/renderer/gpu_video_service_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/renderer/gpu_video_decoder_host.h"
7 #include "content/common/message_router.h" 6 #include "content/common/message_router.h"
8 #include "content/common/gpu_messages.h" 7 #include "content/common/gpu_messages.h"
8 #include "content/renderer/gpu_video_decoder_host.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
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 }
OLDNEW
« no previous file with comments | « content/renderer/gpu_video_decoder_host.cc ('k') | content/renderer/gpu_video_service_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698