Upload upstream chromium 120.0.6099.5
[platform/framework/web/chromium-efl.git] / media / renderers / remote_playback_client_wrapper.h
1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_RENDERERS_REMOTE_PLAYBACK_CLIENT_WRAPPER_H_
6 #define MEDIA_RENDERERS_REMOTE_PLAYBACK_CLIENT_WRAPPER_H_
7
8 namespace media {
9
10 // Wraps a WebRemotePlaybackClient to expose only the methods used by the
11 // FlingingRendererClientFactory. This avoids dependencies on the blink layer.
12 class RemotePlaybackClientWrapper {
13  public:
14   RemotePlaybackClientWrapper() = default;
15   virtual ~RemotePlaybackClientWrapper() = default;
16
17   virtual std::string GetActivePresentationId() = 0;
18 };
19
20 }  // namespace media
21
22 #endif  // MEDIA_RENDERERS_REMOTE_PLAYBACK_CLIENT_WRAPPER_H_