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

Unified Diff: content/public/browser/gpu_service_registry.cc

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 years, 8 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/browser/gpu_service_registry.h ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_service_registry.cc
diff --git a/content/public/browser/gpu_service_registry.cc b/content/public/browser/gpu_service_registry.cc
index 88ffd97df93ab365eabcd29c02a8d66fb3eeca88..c77e2d116d3266eab4f1bc291bcfd7e71a1c65a8 100644
--- a/content/public/browser/gpu_service_registry.cc
+++ b/content/public/browser/gpu_service_registry.cc
@@ -8,10 +8,11 @@
namespace content {
-service_manager::InterfaceProvider* GetGpuRemoteInterfaces() {
+void BindInterfaceInGpuProcess(const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe) {
GpuProcessHost* host =
GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED);
- return host->GetRemoteInterfaces();
+ return host->BindInterface(interface_name, std::move(interface_pipe));
}
} // namespace content
« no previous file with comments | « content/public/browser/gpu_service_registry.h ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698