blob: ff3dcc3e7bc686fcb29a028bcd529a2de5c65e5c [file] [log] [blame]
// Copyright 2019 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.
namespace gpu {
struct GpuPreferences;
namespace mojo {
class BinderMap;
namespace content {
// Populates a BinderMap with interfaces exposed by all Content embedders from
// the GPU process to the browser. The browser can bind these interfaces through
// |GpuProcessHost::BindReceiver()|.
// Embedder-specific GPU interfaces can be exposed to the browser via
// |ContentGpuClient::ExposeInterfacesToBrowser()| or embedder-specific helper
// functions.
void ExposeGpuInterfacesToBrowser(const gpu::GpuPreferences& gpu_preferences,
mojo::BinderMap* binders);
} // namespace content