| 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 #ifndef CONTENT_TEST_MOCK_GPU_CHANNEL_ESTABLISH_FACTORY_H_ | |
| 6 #define CONTENT_TEST_MOCK_GPU_CHANNEL_ESTABLISH_FACTORY_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "gpu/ipc/client/gpu_channel_host.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 class MockGpuChannelEstablishFactory : public gpu::GpuChannelEstablishFactory { | |
| 14 public: | |
| 15 MockGpuChannelEstablishFactory(); | |
| 16 ~MockGpuChannelEstablishFactory() override; | |
| 17 | |
| 18 void EstablishGpuChannel( | |
| 19 const gpu::GpuChannelEstablishedCallback& callback) override; | |
| 20 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync() override; | |
| 21 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | |
| 22 }; | |
| 23 | |
| 24 } // namespace content | |
| 25 | |
| 26 #endif // CONTENT_TEST_MOCK_GPU_CHANNEL_ESTABLISH_FACTORY_H_ | |
| OLD | NEW |