12345678910111213141516171819202122232425 |
- // Copyright 2018 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.
- #ifndef MEDIA_BASE_MEDIA_STATUS_OBSERVER_H_
- #define MEDIA_BASE_MEDIA_STATUS_OBSERVER_H_
- #include "media/base/media_status.h"
- namespace media {
- // Describes the current state of media being controlled via the
- // FlingingController interface. This is a copy of
- // media_router.mojom.MediaStatus interface, without the cast specific portions.
- // TODO(https://crbug.com/820277): Deduplicate media_router::MediaStatus.
- class MediaStatusObserver {
- public:
- virtual ~MediaStatusObserver() = default;
- virtual void OnMediaStatusUpdated(const MediaStatus& status) = 0;
- };
- } // namespace media
- #endif // MEDIA_BASE_MEDIA_STATUS_OBSERVER_H_
|