| 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/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "chrome/browser/media/router/issue.h" | 17 #include "chrome/browser/media/router/issue.h" |
| 18 #include "chrome/browser/media/router/media_route.h" | 18 #include "chrome/browser/media/router/media_route.h" |
| 19 #include "chrome/browser/media/router/media_sink.h" | 19 #include "chrome/browser/media/router/media_sink.h" |
| 20 #include "chrome/browser/media/router/media_source.h" | 20 #include "chrome/browser/media/router/media_source.h" |
| 21 #include "chrome/browser/media/router/route_message_observer.h" | 21 #include "chrome/browser/media/router/route_message_observer.h" |
| 22 #include "components/keyed_service/core/keyed_service.h" | 22 #include "components/keyed_service/core/keyed_service.h" |
| 23 #include "content/public/browser/presentation_service_delegate.h" | 23 #include "content/public/browser/presentation_service_delegate.h" |
| 24 | 24 |
| 25 class Profile; | |
| 26 | |
| 27 namespace content { | 25 namespace content { |
| 28 class WebContents; | 26 class WebContents; |
| 29 } | 27 } |
| 30 | 28 |
| 31 namespace media_router { | 29 namespace media_router { |
| 32 | 30 |
| 33 class IssuesObserver; | 31 class IssuesObserver; |
| 34 class MediaRoutesObserver; | 32 class MediaRoutesObserver; |
| 35 class MediaSinksObserver; | 33 class MediaSinksObserver; |
| 36 class PresentationConnectionStateObserver; | 34 class PresentationConnectionStateObserver; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 237 |
| 240 // Unregisters a previously registered RouteMessagesObserver. |observer| will | 238 // Unregisters a previously registered RouteMessagesObserver. |observer| will |
| 241 // stop receiving further updates. | 239 // stop receiving further updates. |
| 242 virtual void UnregisterRouteMessageObserver( | 240 virtual void UnregisterRouteMessageObserver( |
| 243 RouteMessageObserver* observer) = 0; | 241 RouteMessageObserver* observer) = 0; |
| 244 }; | 242 }; |
| 245 | 243 |
| 246 } // namespace media_router | 244 } // namespace media_router |
| 247 | 245 |
| 248 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ | 246 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ |
| OLD | NEW |