Index: content/test/mock_gpu_channel_establish_factory.h |
diff --git a/content/test/mock_gpu_channel_establish_factory.h b/content/test/mock_gpu_channel_establish_factory.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0d741e4e19161f88d18a8de01cf0c6dc77b5a15 |
--- /dev/null |
+++ b/content/test/mock_gpu_channel_establish_factory.h |
@@ -0,0 +1,26 @@ |
+// 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. |
+ |
+#ifndef CONTENT_TEST_MOCK_GPU_CHANNEL_ESTABLISH_FACTORY_H_ |
+#define CONTENT_TEST_MOCK_GPU_CHANNEL_ESTABLISH_FACTORY_H_ |
+ |
+#include "base/macros.h" |
+#include "gpu/ipc/client/gpu_channel_host.h" |
+ |
+namespace content { |
+ |
+class MockGpuChannelEstablishFactory : public gpu::GpuChannelEstablishFactory { |
+ public: |
+ MockGpuChannelEstablishFactory(); |
+ ~MockGpuChannelEstablishFactory() override; |
+ |
+ void EstablishGpuChannel( |
+ const gpu::GpuChannelEstablishedCallback& callback) override; |
+ scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync() override; |
+ gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_TEST_MOCK_GPU_CHANNEL_ESTABLISH_FACTORY_H_ |