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

Side by Side Diff: chrome/gpu/gpu_video_decoder_unittest.cc

Issue 6673003: Move GPU messages to content. I've also switched the IPC structs to use the ... (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 | « chrome/gpu/gpu_video_decoder.cc ('k') | chrome/gpu/gpu_video_service.cc » ('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) 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "base/process.h" 6 #include "base/process.h"
7 #include "chrome/common/gpu_messages.h"
8 #include "chrome/gpu/gpu_video_decoder.h" 7 #include "chrome/gpu/gpu_video_decoder.h"
8 #include "content/common/gpu_messages.h"
9 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h" 9 #include "gpu/command_buffer/service/gles2_cmd_decoder_mock.h"
10 #include "ipc/ipc_message_utils.h" 10 #include "ipc/ipc_message_utils.h"
11 #include "media/base/pipeline.h" 11 #include "media/base/pipeline.h"
12 #include "media/video/video_mock_objects.h" 12 #include "media/video/video_mock_objects.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using testing::_; 15 using testing::_;
16 using testing::DoAll; 16 using testing::DoAll;
17 using testing::NotNull; 17 using testing::NotNull;
18 using testing::Return; 18 using testing::Return;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 TEST_F(GpuVideoDecoderTest, BufferExchange) { 256 TEST_F(GpuVideoDecoderTest, BufferExchange) {
257 Initialize(); 257 Initialize();
258 AllocateVideoFrames(); 258 AllocateVideoFrames();
259 BufferExchange(); 259 BufferExchange();
260 BufferExchange(); 260 BufferExchange();
261 ReleaseVideoFrames(); 261 ReleaseVideoFrames();
262 } 262 }
263 263
264 DISABLE_RUNNABLE_METHOD_REFCOUNT(GpuVideoDecoderTest); 264 DISABLE_RUNNABLE_METHOD_REFCOUNT(GpuVideoDecoderTest);
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_video_decoder.cc ('k') | chrome/gpu/gpu_video_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698