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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2514923002: content: Use mus client-lib's gpu-service from renderers. (Closed)
Patch Set: . Created 4 years 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/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 0dd50c3a1cd36946022c7188e5722ada40ce82a6..e183b10f7b4f2717a0f1a38cb8f370d016deca18 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -36,6 +36,7 @@
#include "mojo/public/cpp/bindings/interface_ptr.h"
#include "services/service_manager/public/cpp/interface_registry.h"
#include "services/service_manager/public/interfaces/service.mojom.h"
+#include "services/ui/public/interfaces/gpu.mojom.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gl/gpu_switching_observer.h"
@@ -53,6 +54,7 @@ namespace content {
class AudioInputRendererHost;
class AudioRendererHost;
class ChildConnection;
+class GpuClient;
class InProcessChildThreadParams;
class MessagePortMessageFilter;
class NotificationMessageFilter;
@@ -330,6 +332,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
const std::string& name,
mojom::AssociatedInterfaceAssociatedRequest request) override;
+ void CreateMusGpuRequest(ui::mojom::GpuRequest request);
void CreateStoragePartitionService(
mojo::InterfaceRequest<mojom::StoragePartitionService> request);
@@ -577,6 +580,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
#endif
scoped_refptr<ResourceMessageFilter> resource_message_filter_;
+ std::unique_ptr<GpuClient, BrowserThread::DeleteOnIOThread> gpu_client_;
mojom::RouteProviderAssociatedPtr remote_route_provider_;
mojom::RendererAssociatedPtr renderer_interface_;
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698