| Index: content/test/mock_gpu_channel_establish_factory.cc
|
| diff --git a/content/test/mock_gpu_channel_establish_factory.cc b/content/test/mock_gpu_channel_establish_factory.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..123367edac3168bbf17ef8739f1568edf646f77f
|
| --- /dev/null
|
| +++ b/content/test/mock_gpu_channel_establish_factory.cc
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/test/mock_gpu_channel_establish_factory.h"
|
| +
|
| +namespace content {
|
| +
|
| +MockGpuChannelEstablishFactory::MockGpuChannelEstablishFactory() = default;
|
| +
|
| +MockGpuChannelEstablishFactory::~MockGpuChannelEstablishFactory() = default;
|
| +
|
| +void MockGpuChannelEstablishFactory::EstablishGpuChannel(
|
| + const gpu::GpuChannelEstablishedCallback& callback) {
|
| + callback.Run(nullptr);
|
| +}
|
| +
|
| +scoped_refptr<gpu::GpuChannelHost>
|
| +MockGpuChannelEstablishFactory::EstablishGpuChannelSync() {
|
| + return nullptr;
|
| +}
|
| +
|
| +gpu::GpuMemoryBufferManager*
|
| +MockGpuChannelEstablishFactory::GetGpuMemoryBufferManager() {
|
| + return nullptr;
|
| +}
|
| +
|
| +} // namespace content
|
|
|