| 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_MOJO_IMPL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_IMPL_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_IMPL_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void JoinRoute( | 67 void JoinRoute( |
| 68 const MediaSource::Id& source_id, | 68 const MediaSource::Id& source_id, |
| 69 const std::string& presentation_id, | 69 const std::string& presentation_id, |
| 70 const GURL& origin, | 70 const GURL& origin, |
| 71 int tab_id, | 71 int tab_id, |
| 72 const std::vector<MediaRouteResponseCallback>& callbacks) override; | 72 const std::vector<MediaRouteResponseCallback>& callbacks) override; |
| 73 void CloseRoute(const MediaRoute::Id& route_id) override; | 73 void CloseRoute(const MediaRoute::Id& route_id) override; |
| 74 void SendRouteMessage(const MediaRoute::Id& route_id, | 74 void SendRouteMessage(const MediaRoute::Id& route_id, |
| 75 const std::string& message, | 75 const std::string& message, |
| 76 const SendRouteMessageCallback& callback) override; | 76 const SendRouteMessageCallback& callback) override; |
| 77 void SendRouteBinaryMessage( |
| 78 const MediaRoute::Id& route_id, |
| 79 const std::vector<uint8_t>& data, |
| 80 const SendRouteMessageCallback& callback) override; |
| 77 void ListenForRouteMessages( | 81 void ListenForRouteMessages( |
| 78 const std::vector<MediaRoute::Id>& route_ids, | 82 const std::vector<MediaRoute::Id>& route_ids, |
| 79 const PresentationSessionMessageCallback& message_cb) override; | 83 const PresentationSessionMessageCallback& message_cb) override; |
| 80 void ClearIssue(const Issue::Id& issue_id) override; | 84 void ClearIssue(const Issue::Id& issue_id) override; |
| 81 void RegisterMediaSinksObserver(MediaSinksObserver* observer) override; | 85 void RegisterMediaSinksObserver(MediaSinksObserver* observer) override; |
| 82 void UnregisterMediaSinksObserver(MediaSinksObserver* observer) override; | 86 void UnregisterMediaSinksObserver(MediaSinksObserver* observer) override; |
| 83 void RegisterMediaRoutesObserver(MediaRoutesObserver* observer) override; | 87 void RegisterMediaRoutesObserver(MediaRoutesObserver* observer) override; |
| 84 void UnregisterMediaRoutesObserver(MediaRoutesObserver* observer) override; | 88 void UnregisterMediaRoutesObserver(MediaRoutesObserver* observer) override; |
| 85 void RegisterIssuesObserver(IssuesObserver* observer) override; | 89 void RegisterIssuesObserver(IssuesObserver* observer) override; |
| 86 void UnregisterIssuesObserver(IssuesObserver* observer) override; | 90 void UnregisterIssuesObserver(IssuesObserver* observer) override; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 std::string instance_id_; | 203 std::string instance_id_; |
| 200 | 204 |
| 201 base::ThreadChecker thread_checker_; | 205 base::ThreadChecker thread_checker_; |
| 202 | 206 |
| 203 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoImpl); | 207 DISALLOW_COPY_AND_ASSIGN(MediaRouterMojoImpl); |
| 204 }; | 208 }; |
| 205 | 209 |
| 206 } // namespace media_router | 210 } // namespace media_router |
| 207 | 211 |
| 208 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_IMPL_H_ | 212 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_MOJO_IMPL_H_ |
| OLD | NEW |