blob: 8431163c8423227a1f06b48626e9aa385680143d [file] [log] [blame]
// 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 MediaController
// interface. This is a copy of the 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_