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

Side by Side Diff: net/socket/ssl_client_socket_openssl.h

Issue 4039003: Add experimental option for TCP FastOpen.... (Closed) Base URL: svn://chrome-svn/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 | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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 NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "net/base/cert_verify_result.h" 10 #include "net/base/cert_verify_result.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // ClientSocket methods: 44 // ClientSocket methods:
45 virtual int Connect(CompletionCallback* callback); 45 virtual int Connect(CompletionCallback* callback);
46 virtual void Disconnect(); 46 virtual void Disconnect();
47 virtual bool IsConnected() const; 47 virtual bool IsConnected() const;
48 virtual bool IsConnectedAndIdle() const; 48 virtual bool IsConnectedAndIdle() const;
49 virtual int GetPeerAddress(AddressList*) const; 49 virtual int GetPeerAddress(AddressList*) const;
50 virtual const BoundNetLog& NetLog() const; 50 virtual const BoundNetLog& NetLog() const;
51 virtual void SetSubresourceSpeculation(); 51 virtual void SetSubresourceSpeculation();
52 virtual void SetOmniboxSpeculation(); 52 virtual void SetOmniboxSpeculation();
53 virtual bool WasEverUsed() const; 53 virtual bool WasEverUsed() const;
54 virtual bool UsingTCPFastOpen() const;
54 55
55 // Socket methods: 56 // Socket methods:
56 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 57 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
57 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 58 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
58 virtual bool SetReceiveBufferSize(int32 size); 59 virtual bool SetReceiveBufferSize(int32 size);
59 virtual bool SetSendBufferSize(int32 size); 60 virtual bool SetSendBufferSize(int32 size);
60 61
61 private: 62 private:
62 bool Init(); 63 bool Init();
63 void DoReadCallback(int result); 64 void DoReadCallback(int result);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 STATE_VERIFY_CERT_COMPLETE, 137 STATE_VERIFY_CERT_COMPLETE,
137 }; 138 };
138 State next_handshake_state_; 139 State next_handshake_state_;
139 BoundNetLog net_log_; 140 BoundNetLog net_log_;
140 }; 141 };
141 142
142 } // namespace net 143 } // namespace net
143 144
144 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 145 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
145 146
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698