OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COMMON_NET_NOTIFIER_COMMUNICATOR_SSL_SOCKET_ADAPTER_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_SSL_SOCKET_ADAPTER_H_ |
6 #define CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_SSL_SOCKET_ADAPTER_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_SSL_SOCKET_ADAPTER_H_ |
7 | 7 |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "net/base/completion_callback.h" | 9 #include "net/base/completion_callback.h" |
10 #include "net/base/io_buffer.h" | 10 #include "net/base/io_buffer.h" |
11 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
12 #include "net/base/net_log.h" | 12 #include "net/base/net_log.h" |
13 #include "net/socket/client_socket.h" | 13 #include "net/socket/client_socket.h" |
14 #include "net/socket/ssl_client_socket.h" | 14 #include "net/socket/ssl_client_socket.h" |
15 #include "talk/base/asyncsocket.h" | 15 #include "talk/base/asyncsocket.h" |
16 #include "talk/base/ssladapter.h" | 16 #include "talk/base/ssladapter.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool ssl_connected_; | 124 bool ssl_connected_; |
125 State state_; | 125 State state_; |
126 scoped_refptr<net::IOBuffer> transport_buf_; | 126 scoped_refptr<net::IOBuffer> transport_buf_; |
127 int data_transferred_; | 127 int data_transferred_; |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter); | 129 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace notifier | 132 } // namespace notifier |
133 | 133 |
134 #endif // CHROME_COMMON_NET_NOTIFIER_COMMUNICATOR_SSL_SOCKET_ADAPTER_H_ | 134 #endif // JINGLE_NOTIFIER_COMMUNICATOR_SSL_SOCKET_ADAPTER_H_ |
OLD | NEW |