Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: content/test/mock_gpu_channel_establish_factory.h

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: retry gpu process failures after crbug.com/643282 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | content/test/mock_gpu_channel_establish_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | content/test/mock_gpu_channel_establish_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698