summaryrefslogtreecommitdiff
path: root/chromium/media/mojo/mojom/frame_interface_factory.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/mojo/mojom/frame_interface_factory.mojom')
-rw-r--r--chromium/media/mojo/mojom/frame_interface_factory.mojom18
1 files changed, 1 insertions, 17 deletions
diff --git a/chromium/media/mojo/mojom/frame_interface_factory.mojom b/chromium/media/mojo/mojom/frame_interface_factory.mojom
index afad43900c6..54810e1ca01 100644
--- a/chromium/media/mojo/mojom/frame_interface_factory.mojom
+++ b/chromium/media/mojo/mojom/frame_interface_factory.mojom
@@ -1,4 +1,4 @@
-// Copyright 2020 The Chromium Authors. All rights reserved.
+// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,8 +9,6 @@ import "media/mojo/mojom/provision_fetcher.mojom";
import "mojo/public/mojom/base/generic_pending_receiver.mojom";
import "url/mojom/origin.mojom";
[EnableIf=is_win]
-import "gpu/ipc/common/luid.mojom";
-[EnableIf=is_win]
import "media/mojo/mojom/dcomp_surface_registry.mojom";
// Implemented by things like audio playback in the utility process to respond
@@ -22,14 +20,6 @@ interface MuteStateObserver {
OnMuteStateChange(bool muted);
};
-// Implemented by utility processes which would like change notifications
-// when GpuInfo changes (currently subsetted to the LUID).
-[EnableIf=is_win]
-interface GpuInfoObserver {
- // Notifies client of GPU Adapter LUID on GPU Info state change.
- OnGpuLuidChange(gpu.mojom.Luid adapter_luid);
-};
-
// A factory providing extra services for media mojo services running remotely.
// The implementation of this interface lives in the browser process and
// is bound to a RenderFrameHost (see MediaInterfaceProxy). Interfaces created
@@ -59,10 +49,4 @@ interface FrameInterfaceFactory {
// Binds a generic media frame-bound interface. This is to allow //content
// embedders to provide additional interfaces.
BindEmbedderReceiver(mojo_base.mojom.GenericPendingReceiver receiver);
-
- // Registers `observer` to get notified of the active GPU adapter LUID when
- // GpuInfo changes, synchronously returns the current adapter LUID.
- [EnableIf=is_win, Sync]
- RegisterGpuInfoObserver(pending_remote<GpuInfoObserver> observer)
- => (gpu.mojom.Luid adapter_luid);
};