OLD | NEW |
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_QUERY_RESULT_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_QUERY_RESULT_MANAGER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_QUERY_RESULT_MANAGER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_QUERY_RESULT_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 #include <unordered_set> | 11 #include <unordered_set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "chrome/browser/media/router/media_routes_observer.h" | 17 #include "chrome/browser/media/router/media_routes_observer.h" |
18 #include "chrome/browser/media/router/media_sink.h" | 18 #include "chrome/browser/media/router/media_sink.h" |
19 #include "chrome/browser/media/router/media_source.h" | 19 #include "chrome/browser/media/router/media_source.h" |
20 #include "chrome/browser/ui/webui/media_router/cast_modes_with_media_sources.h" | 20 #include "chrome/browser/ui/webui/media_router/cast_modes_with_media_sources.h" |
21 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h" | 21 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h" |
22 #include "chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h" | 22 #include "chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h" |
23 | 23 |
| 24 class GURL; |
| 25 |
24 namespace media_router { | 26 namespace media_router { |
25 | 27 |
26 class MediaRouter; | 28 class MediaRouter; |
27 class MediaSinksObserver; | 29 class MediaSinksObserver; |
28 struct RoutesQueryResult; | 30 struct RoutesQueryResult; |
29 struct SinksQueryResult; | 31 struct SinksQueryResult; |
30 | 32 |
31 // The Media Router dialog allows the user to initiate casting using one of | 33 // The Media Router dialog allows the user to initiate casting using one of |
32 // several actions (each represented by a cast mode). Each cast mode is | 34 // several actions (each represented by a cast mode). Each cast mode is |
33 // associated with a vector of media sources. This class allows the dialog to | 35 // associated with a vector of media sources. This class allows the dialog to |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 172 |
171 // Not owned by this object. | 173 // Not owned by this object. |
172 MediaRouter* const router_; | 174 MediaRouter* const router_; |
173 | 175 |
174 DISALLOW_COPY_AND_ASSIGN(QueryResultManager); | 176 DISALLOW_COPY_AND_ASSIGN(QueryResultManager); |
175 }; | 177 }; |
176 | 178 |
177 } // namespace media_router | 179 } // namespace media_router |
178 | 180 |
179 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_QUERY_RESULT_MANAGER_H_ | 181 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_QUERY_RESULT_MANAGER_H_ |
OLD | NEW |