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_MEDIA_ROUTER_MEDIA_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/callback_list.h" | 14 #include "base/callback_list.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "chrome/browser/media/router/issue.h" | |
17 #include "chrome/browser/media/router/media_route.h" | |
18 #include "chrome/browser/media/router/media_sink.h" | |
19 #include "chrome/browser/media/router/media_source.h" | |
20 #include "chrome/browser/media/router/route_message_observer.h" | 16 #include "chrome/browser/media/router/route_message_observer.h" |
21 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
| 18 #include "components/media_router/issue.h" |
| 19 #include "components/media_router/media_route.h" |
| 20 #include "components/media_router/media_sink.h" |
| 21 #include "components/media_router/media_source.h" |
22 #include "content/public/browser/presentation_service_delegate.h" | 22 #include "content/public/browser/presentation_service_delegate.h" |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class WebContents; | 25 class WebContents; |
26 } | 26 } |
27 | 27 |
28 namespace url { | 28 namespace url { |
29 class Origin; | 29 class Origin; |
30 } // namespace url | 30 } // namespace url |
31 | 31 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 244 |
245 // Unregisters a previously registered RouteMessagesObserver. |observer| will | 245 // Unregisters a previously registered RouteMessagesObserver. |observer| will |
246 // stop receiving further updates. | 246 // stop receiving further updates. |
247 virtual void UnregisterRouteMessageObserver( | 247 virtual void UnregisterRouteMessageObserver( |
248 RouteMessageObserver* observer) = 0; | 248 RouteMessageObserver* observer) = 0; |
249 }; | 249 }; |
250 | 250 |
251 } // namespace media_router | 251 } // namespace media_router |
252 | 252 |
253 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ | 253 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ |
OLD | NEW |