Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: remoting/jingle_glue/ssl_socket_adapter.h

Issue 4562002: Add DEPS files in remoting subdirectories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/jingle_glue/ssl_adapter.cc ('k') | remoting/jingle_glue/xmpp_socket_adapter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 5 #ifndef REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
6 #define REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 6 #define REMOTING_JINGLE_GLUE_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 "third_party/libjingle/source/talk/base/asyncsocket.h"
16 #include "talk/base/ssladapter.h" 16 #include "third_party/libjingle/source/talk/base/ssladapter.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 class SSLSocketAdapter; 20 class SSLSocketAdapter;
21 21
22 // TODO(sergeyu): Write unittests for this code! 22 // TODO(sergeyu): Write unittests for this code!
23 23
24 // This class provides a wrapper to libjingle's talk_base::AsyncSocket that 24 // This class provides a wrapper to libjingle's talk_base::AsyncSocket that
25 // implements Chromium's net::ClientSocket interface. It's used by 25 // implements Chromium's net::ClientSocket interface. It's used by
26 // SSLSocketAdapter to enable Chromium's SSL implementation to work over 26 // SSLSocketAdapter to enable Chromium's SSL implementation to work over
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 IOState write_state_; 137 IOState write_state_;
138 scoped_refptr<net::IOBuffer> transport_buf_; 138 scoped_refptr<net::IOBuffer> transport_buf_;
139 int data_transferred_; 139 int data_transferred_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter); 141 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter);
142 }; 142 };
143 143
144 } // namespace remoting 144 } // namespace remoting
145 145
146 #endif // REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 146 #endif // REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « remoting/jingle_glue/ssl_adapter.cc ('k') | remoting/jingle_glue/xmpp_socket_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698