blob: e326a294678b541c70a38b95c67fb77fabebc5c6 [file] [log] [blame]
// 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/public/browser/gpu_service_registry.h"
#include "components/viz/host/gpu_host_impl.h"
#include "content/browser/gpu/gpu_process_host.h"
namespace content {
void BindInterfaceInGpuProcess(const std::string& interface_name,
mojo::ScopedMessagePipeHandle interface_pipe) {
auto* host = GpuProcessHost::Get()->gpu_host();
return host->BindInterface(interface_name, std::move(interface_pipe));
}
} // namespace content