Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_ 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_ 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/browser/media/router/media_sink.h"
11 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h" 10 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h"
11 #include "chrome/common/media_router/media_sink.h"
12 12
13 namespace media_router { 13 namespace media_router {
14 14
15 // Contains information on a MediaSink and the set of cast modes it is 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 16 // compatible with. This should be interpreted under the context of a
17 // QueryResultManager which contains a mapping from MediaCastMode to 17 // QueryResultManager which contains a mapping from MediaCastMode to
18 // MediaSource. 18 // MediaSource.
19 struct MediaSinkWithCastModes { 19 struct MediaSinkWithCastModes {
20 explicit MediaSinkWithCastModes(const MediaSink& sink); 20 explicit MediaSinkWithCastModes(const MediaSink& sink);
21 MediaSinkWithCastModes(const MediaSinkWithCastModes& other); 21 MediaSinkWithCastModes(const MediaSinkWithCastModes& other);
22 ~MediaSinkWithCastModes(); 22 ~MediaSinkWithCastModes();
23 23
24 MediaSink sink; 24 MediaSink sink;
25 CastModeSet cast_modes; 25 CastModeSet cast_modes;
26 26
27 bool Equals(const MediaSinkWithCastModes& other) const; 27 bool Equals(const MediaSinkWithCastModes& other) const;
28 }; 28 };
29 29
30 } // namespace media_router 30 } // namespace media_router
31 31
32 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_ 32 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698