| 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_ICE_CONNECTION_TO_CLIENT_H_ | 5 #ifndef REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ |
| 6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ | 6 #define REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void Close(ErrorCode error); | 66 void Close(ErrorCode error); |
| 67 | 67 |
| 68 // Stops writing in the channels. | 68 // Stops writing in the channels. |
| 69 void CloseChannels(); | 69 void CloseChannels(); |
| 70 | 70 |
| 71 base::ThreadChecker thread_checker_; | 71 base::ThreadChecker thread_checker_; |
| 72 | 72 |
| 73 // Event handler for handling events sent from this object. | 73 // Event handler for handling events sent from this object. |
| 74 ConnectionToClient::EventHandler* event_handler_; | 74 ConnectionToClient::EventHandler* event_handler_; |
| 75 | 75 |
| 76 // The libjingle channel used to send and receive data from the remote client. | |
| 77 scoped_ptr<Session> session_; | 76 scoped_ptr<Session> session_; |
| 78 | 77 |
| 79 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_; | 78 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_; |
| 80 | 79 |
| 81 scoped_ptr<HostControlDispatcher> control_dispatcher_; | 80 scoped_ptr<HostControlDispatcher> control_dispatcher_; |
| 82 scoped_ptr<HostEventDispatcher> event_dispatcher_; | 81 scoped_ptr<HostEventDispatcher> event_dispatcher_; |
| 83 scoped_ptr<HostVideoDispatcher> video_dispatcher_; | 82 scoped_ptr<HostVideoDispatcher> video_dispatcher_; |
| 84 scoped_ptr<AudioWriter> audio_writer_; | 83 scoped_ptr<AudioWriter> audio_writer_; |
| 85 | 84 |
| 86 DISALLOW_COPY_AND_ASSIGN(IceConnectionToClient); | 85 DISALLOW_COPY_AND_ASSIGN(IceConnectionToClient); |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace protocol | 88 } // namespace protocol |
| 90 } // namespace remoting | 89 } // namespace remoting |
| 91 | 90 |
| 92 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ | 91 #endif // REMOTING_PROTOCOL_ICE_CONNECTION_TO_CLIENT_H_ |
| OLD | NEW |