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

Unified Diff: jingle/notifier/base/fake_ssl_client_socket.h

Issue 6833031: Changed the jingle network code in ChromeAsyncSocket to use the client socket pool. This also all... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Lint fix Created 9 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: jingle/notifier/base/fake_ssl_client_socket.h
===================================================================
--- jingle/notifier/base/fake_ssl_client_socket.h (revision 81429)
+++ jingle/notifier/base/fake_ssl_client_socket.h (working copy)
@@ -28,6 +28,7 @@
#include "net/socket/client_socket.h"
namespace net {
+class ClientSocketHandle;
class DrainableIOBuffer;
} // namespace net
@@ -35,8 +36,9 @@
class FakeSSLClientSocket : public net::ClientSocket {
public:
- // Takes ownership of |transport_socket|.
- explicit FakeSSLClientSocket(net::ClientSocket* transport_socket);
+ // Takes ownership of |transport_socket|. This socket may already be
+ // connected.
+ explicit FakeSSLClientSocket(net::ClientSocketHandle* transport_socket);
virtual ~FakeSSLClientSocket();
@@ -93,7 +95,7 @@
net::CompletionCallbackImpl<FakeSSLClientSocket>
verify_server_hello_callback_;
- scoped_ptr<net::ClientSocket> transport_socket_;
+ scoped_ptr<net::ClientSocketHandle> transport_;
// During the handshake process, holds a value from HandshakeState.
// STATE_NONE otherwise.

Powered by Google App Engine
This is Rietveld 408576698