OLD | NEW |
| (Empty) |
1 // Copyright 2011 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. | |
4 | |
5 #include "content/test/mock_gpu_channel_establish_factory.h" | |
6 | |
7 namespace content { | |
8 | |
9 MockGpuChannelEstablishFactory::MockGpuChannelEstablishFactory() = default; | |
10 | |
11 MockGpuChannelEstablishFactory::~MockGpuChannelEstablishFactory() = default; | |
12 | |
13 void MockGpuChannelEstablishFactory::EstablishGpuChannel( | |
14 const gpu::GpuChannelEstablishedCallback& callback) { | |
15 callback.Run(nullptr); | |
16 } | |
17 | |
18 scoped_refptr<gpu::GpuChannelHost> | |
19 MockGpuChannelEstablishFactory::EstablishGpuChannelSync() { | |
20 return nullptr; | |
21 } | |
22 | |
23 gpu::GpuMemoryBufferManager* | |
24 MockGpuChannelEstablishFactory::GetGpuMemoryBufferManager() { | |
25 return nullptr; | |
26 } | |
27 | |
28 } // namespace content | |
OLD | NEW |