OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_BROWSER_PRESENTATION_CONNECTION_PROXY_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_BROWSER_PRESENTATION_CONNECTION_PROXY_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_BROWSER_PRESENTATION_CONNECTION_PROXY_H_ | 6 #define CHROME_BROWSER_MEDIA_ROUTER_BROWSER_PRESENTATION_CONNECTION_PROXY_H_ |
7 | 7 |
8 #include "chrome/browser/media/router/media_route.h" | 8 #include "chrome/common/media_router/media_route.h" |
9 #include "content/public/browser/presentation_service_delegate.h" | 9 #include "content/public/browser/presentation_service_delegate.h" |
10 #include "content/public/common/presentation_connection_message.h" | 10 #include "content/public/common/presentation_connection_message.h" |
11 #include "content/public/common/presentation_info.h" | 11 #include "content/public/common/presentation_info.h" |
12 #include "mojo/public/cpp/bindings/binding.h" | 12 #include "mojo/public/cpp/bindings/binding.h" |
13 | 13 |
14 namespace media_router { | 14 namespace media_router { |
15 | 15 |
16 class MediaRouter; | 16 class MediaRouter; |
17 | 17 |
18 // This class represents a browser side PresentationConnection. It connects with | 18 // This class represents a browser side PresentationConnection. It connects with |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 MediaRouter* const router_; | 72 MediaRouter* const router_; |
73 const MediaRoute::Id route_id_; | 73 const MediaRoute::Id route_id_; |
74 | 74 |
75 mojo::Binding<blink::mojom::PresentationConnection> binding_; | 75 mojo::Binding<blink::mojom::PresentationConnection> binding_; |
76 blink::mojom::PresentationConnectionPtr target_connection_ptr_; | 76 blink::mojom::PresentationConnectionPtr target_connection_ptr_; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace media_router | 79 } // namespace media_router |
80 | 80 |
81 #endif // CHROME_BROWSER_MEDIA_ROUTER_BROWSER_PRESENTATION_CONNECTION_PROXY_H_ | 81 #endif // CHROME_BROWSER_MEDIA_ROUTER_BROWSER_PRESENTATION_CONNECTION_PROXY_H_ |
OLD | NEW |