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