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

Unified Diff: content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.cc

Issue 1656433002: Sample code: IPC Transport object for GPU Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency Created 4 years, 10 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
Index: content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.cc
diff --git a/content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.cc b/content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ad61c17e80619ac548f2d8776107a79d9fe56362
--- /dev/null
+++ b/content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.cc
@@ -0,0 +1,16 @@
+// Copyright 2016 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/common/gpu/client/ipc/gpu_host_ipc_transport_factory.h"
+
+namespace content {
+
+GpuHostIPCTransportFactory* GpuHostIPCTransportFactory::factory_ = nullptr;
+
+// static
+GpuHostIPCTransportFactory* GpuHostIPCTransportFactory::Get() {
+ return factory_;
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698