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 REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ | 5 #ifndef REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ |
6 #define REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ | 6 #define REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 public Session::EventHandler, | 28 public Session::EventHandler, |
29 public WebrtcTransport::EventHandler, | 29 public WebrtcTransport::EventHandler, |
30 public ChannelDispatcherBase::EventHandler { | 30 public ChannelDispatcherBase::EventHandler { |
31 public: | 31 public: |
32 WebrtcConnectionToHost(); | 32 WebrtcConnectionToHost(); |
33 ~WebrtcConnectionToHost() override; | 33 ~WebrtcConnectionToHost() override; |
34 | 34 |
35 // ConnectionToHost interface. | 35 // ConnectionToHost interface. |
36 void set_client_stub(ClientStub* client_stub) override; | 36 void set_client_stub(ClientStub* client_stub) override; |
37 void set_clipboard_stub(ClipboardStub* clipboard_stub) override; | 37 void set_clipboard_stub(ClipboardStub* clipboard_stub) override; |
38 void set_video_stub(VideoStub* video_stub) override; | 38 void set_video_renderer(VideoRenderer* video_renderer) override; |
39 void set_audio_stub(AudioStub* audio_stub) override; | 39 void set_audio_stub(AudioStub* audio_stub) override; |
40 void Connect(scoped_ptr<Session> session, | 40 void Connect(scoped_ptr<Session> session, |
41 scoped_refptr<TransportContext> transport_context, | 41 scoped_refptr<TransportContext> transport_context, |
42 HostEventCallback* event_callback) override; | 42 HostEventCallback* event_callback) override; |
43 const SessionConfig& config() override; | 43 const SessionConfig& config() override; |
44 ClipboardStub* clipboard_forwarder() override; | 44 ClipboardStub* clipboard_forwarder() override; |
45 HostStub* host_stub() override; | 45 HostStub* host_stub() override; |
46 InputStub* input_stub() override; | 46 InputStub* input_stub() override; |
47 State state() const override; | 47 State state() const override; |
48 | 48 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 ErrorCode error_ = OK; | 84 ErrorCode error_ = OK; |
85 | 85 |
86 private: | 86 private: |
87 DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToHost); | 87 DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToHost); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace protocol | 90 } // namespace protocol |
91 } // namespace remoting | 91 } // namespace remoting |
92 | 92 |
93 #endif // REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ | 93 #endif // REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_HOST_H_ |
OLD | NEW |