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

Side by Side Diff: net/socket/ssl_client_socket_win.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_openssl.cc ('k') | net/socket/ssl_client_socket_win.cc » ('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 NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #define SECURITY_WIN32 // Needs to be defined before including security.h 9 #define SECURITY_WIN32 // Needs to be defined before including security.h
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // ClientSocket methods: 47 // ClientSocket methods:
48 virtual int Connect(CompletionCallback* callback); 48 virtual int Connect(CompletionCallback* callback);
49 virtual void Disconnect(); 49 virtual void Disconnect();
50 virtual bool IsConnected() const; 50 virtual bool IsConnected() const;
51 virtual bool IsConnectedAndIdle() const; 51 virtual bool IsConnectedAndIdle() const;
52 virtual int GetPeerAddress(AddressList* address) const; 52 virtual int GetPeerAddress(AddressList* address) const;
53 virtual const BoundNetLog& NetLog() const { return net_log_; } 53 virtual const BoundNetLog& NetLog() const { return net_log_; }
54 virtual void SetSubresourceSpeculation(); 54 virtual void SetSubresourceSpeculation();
55 virtual void SetOmniboxSpeculation(); 55 virtual void SetOmniboxSpeculation();
56 virtual bool WasEverUsed() const; 56 virtual bool WasEverUsed() const;
57 virtual bool UsingTCPFastOpen() const;
57 58
58 // Socket methods: 59 // Socket methods:
59 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 60 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
60 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 61 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
61 62
62 virtual bool SetReceiveBufferSize(int32 size); 63 virtual bool SetReceiveBufferSize(int32 size);
63 virtual bool SetSendBufferSize(int32 size); 64 virtual bool SetSendBufferSize(int32 size);
64 65
65 private: 66 private:
66 bool completed_handshake() const { 67 bool completed_handshake() const {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 188
188 // True when the decrypter needs more data in order to decrypt. 189 // True when the decrypter needs more data in order to decrypt.
189 bool need_more_data_; 190 bool need_more_data_;
190 191
191 BoundNetLog net_log_; 192 BoundNetLog net_log_;
192 }; 193 };
193 194
194 } // namespace net 195 } // namespace net
195 196
196 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 197 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | net/socket/ssl_client_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698