Change ContentsView::SetActivePage to use States rather than indexes.
[chromium-blink-merge.git] / media / renderers / mock_gpu_video_accelerator_factories.cc
blobc9f7824424cd6889cec388aa93d45f78d761b660
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"
7 namespace media {
9 MockGpuVideoAcceleratorFactories::MockGpuVideoAcceleratorFactories() {}
11 MockGpuVideoAcceleratorFactories::~MockGpuVideoAcceleratorFactories() {}
13 scoped_ptr<base::SharedMemory>
14 MockGpuVideoAcceleratorFactories::CreateSharedMemory(size_t size) {
15 return nullptr;
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());
28 } // namespace media