Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / webui / media_router / media_sink_with_cast_modes.h
blob48c651d2f60bc168534758ffd08d7ed1a864a703
1 // Copyright 2015 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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_
8 #include <set>
10 #include "chrome/browser/media/router/media_sink.h"
11 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h"
13 namespace media_router {
15 // Contains information on a MediaSink and the set of cast modes it is
16 // compatible with. This should be interpreted under the context of a
17 // QueryResultManager which contains a mapping from MediaCastMode to
18 // MediaSource.
19 struct MediaSinkWithCastModes {
20 explicit MediaSinkWithCastModes(const MediaSink& sink);
21 ~MediaSinkWithCastModes();
23 MediaSink sink;
24 CastModeSet cast_modes;
26 bool Equals(const MediaSinkWithCastModes& other) const;
29 } // namespace media_router
31 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_