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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/memory/scoped_vector.h" |
12 #include "chrome/browser/media/router/issue.h" | 13 #include "chrome/browser/media/router/issue.h" |
13 #include "chrome/browser/media/router/media_route.h" | 14 #include "chrome/browser/media/router/media_route.h" |
14 #include "chrome/browser/media/router/media_sink.h" | 15 #include "chrome/browser/media/router/media_sink.h" |
15 #include "chrome/browser/media/router/media_source.h" | 16 #include "chrome/browser/media/router/media_source.h" |
16 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
17 #include "content/public/browser/presentation_session_message.h" | 18 #include "content/public/browser/presentation_session_message.h" |
18 | 19 |
19 namespace media_router { | 20 namespace media_router { |
20 | 21 |
21 class IssuesObserver; | 22 class IssuesObserver; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 167 |
167 // Unregisters a previously registered PresentationSessionMessagesObserver. | 168 // Unregisters a previously registered PresentationSessionMessagesObserver. |
168 // |observer| will stop receiving further updates. | 169 // |observer| will stop receiving further updates. |
169 virtual void UnregisterPresentationSessionMessagesObserver( | 170 virtual void UnregisterPresentationSessionMessagesObserver( |
170 PresentationSessionMessagesObserver* observer) = 0; | 171 PresentationSessionMessagesObserver* observer) = 0; |
171 }; | 172 }; |
172 | 173 |
173 } // namespace media_router | 174 } // namespace media_router |
174 | 175 |
175 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ | 176 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_H_ |
OLD | NEW |