OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_JINGLE_STREAM_CONNECTOR_H_ | 5 #ifndef REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ |
6 #define REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ | 6 #define REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 JingleSession* session_; | 56 JingleSession* session_; |
57 std::string name_; | 57 std::string name_; |
58 Session::StreamChannelCallback callback_; | 58 Session::StreamChannelCallback callback_; |
59 | 59 |
60 cricket::TransportChannel* raw_channel_; | 60 cricket::TransportChannel* raw_channel_; |
61 scoped_ptr<net::StreamSocket> tcp_socket_; | 61 scoped_ptr<net::StreamSocket> tcp_socket_; |
62 scoped_ptr<net::SSLSocket> socket_; | 62 scoped_ptr<net::SSLSocket> socket_; |
63 | 63 |
64 scoped_ptr<ChannelAuthenticator> authenticator_; | 64 scoped_ptr<ChannelAuthenticator> authenticator_; |
65 | 65 |
66 // Callback called by the TCP and SSL layers. | |
67 net::OldCompletionCallbackImpl<JingleStreamConnector> tcp_connect_callback_; | |
68 | |
69 DISALLOW_COPY_AND_ASSIGN(JingleStreamConnector); | 66 DISALLOW_COPY_AND_ASSIGN(JingleStreamConnector); |
70 }; | 67 }; |
71 | 68 |
72 } // namespace protocol | 69 } // namespace protocol |
73 } // namespace remoting | 70 } // namespace remoting |
74 | 71 |
75 #endif // REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ | 72 #endif // REMOTING_PROTOCOL_JINGLE_STREAM_CONNECTOR_H_ |
OLD | NEW |