media_status_observer.h 807 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef MEDIA_BASE_MEDIA_STATUS_OBSERVER_H_
  5. #define MEDIA_BASE_MEDIA_STATUS_OBSERVER_H_
  6. #include "media/base/media_status.h"
  7. namespace media {
  8. // Describes the current state of media being controlled via the
  9. // FlingingController interface. This is a copy of
  10. // media_router.mojom.MediaStatus interface, without the cast specific portions.
  11. // TODO(https://crbug.com/820277): Deduplicate media_router::MediaStatus.
  12. class MediaStatusObserver {
  13. public:
  14. virtual ~MediaStatusObserver() = default;
  15. virtual void OnMediaStatusUpdated(const MediaStatus& status) = 0;
  16. };
  17. } // namespace media
  18. #endif // MEDIA_BASE_MEDIA_STATUS_OBSERVER_H_