1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "media/renderers/mock_gpu_video_accelerator_factories.h"
9 MockGpuVideoAcceleratorFactories::MockGpuVideoAcceleratorFactories() {}
11 MockGpuVideoAcceleratorFactories::~MockGpuVideoAcceleratorFactories() {}
13 scoped_ptr
<base::SharedMemory
>
14 MockGpuVideoAcceleratorFactories::CreateSharedMemory(size_t size
) {
18 scoped_ptr
<VideoDecodeAccelerator
>
19 MockGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator() {
20 return scoped_ptr
<VideoDecodeAccelerator
>(DoCreateVideoDecodeAccelerator());
23 scoped_ptr
<VideoEncodeAccelerator
>
24 MockGpuVideoAcceleratorFactories::CreateVideoEncodeAccelerator() {
25 return scoped_ptr
<VideoEncodeAccelerator
>(DoCreateVideoEncodeAccelerator());