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

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

Issue 7255002: Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of data written to the so... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/ssl_client_socket_win.cc ('k') | net/socket/ssl_server_socket_nss.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:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SERVER_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <certt.h> 9 #include <certt.h>
10 #include <keyt.h> 10 #include <keyt.h>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void Disconnect(); 47 virtual void Disconnect();
48 virtual bool IsConnected() const; 48 virtual bool IsConnected() const;
49 virtual bool IsConnectedAndIdle() const; 49 virtual bool IsConnectedAndIdle() const;
50 virtual int GetPeerAddress(AddressList* address) const; 50 virtual int GetPeerAddress(AddressList* address) const;
51 virtual int GetLocalAddress(IPEndPoint* address) const; 51 virtual int GetLocalAddress(IPEndPoint* address) const;
52 virtual const BoundNetLog& NetLog() const; 52 virtual const BoundNetLog& NetLog() const;
53 virtual void SetSubresourceSpeculation(); 53 virtual void SetSubresourceSpeculation();
54 virtual void SetOmniboxSpeculation(); 54 virtual void SetOmniboxSpeculation();
55 virtual bool WasEverUsed() const; 55 virtual bool WasEverUsed() const;
56 virtual bool UsingTCPFastOpen() const; 56 virtual bool UsingTCPFastOpen() const;
57 virtual int64 NumBytesRead() const;
58 virtual base::TimeDelta GetConnectTimeMicros() const;
59 57
60 private: 58 private:
61 enum State { 59 enum State {
62 STATE_NONE, 60 STATE_NONE,
63 STATE_HANDSHAKE, 61 STATE_HANDSHAKE,
64 }; 62 };
65 63
66 int InitializeSSLOptions(); 64 int InitializeSSLOptions();
67 65
68 void OnSendComplete(int result); 66 void OnSendComplete(int result);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 133
136 State next_handshake_state_; 134 State next_handshake_state_;
137 bool completed_handshake_; 135 bool completed_handshake_;
138 136
139 DISALLOW_COPY_AND_ASSIGN(SSLServerSocketNSS); 137 DISALLOW_COPY_AND_ASSIGN(SSLServerSocketNSS);
140 }; 138 };
141 139
142 } // namespace net 140 } // namespace net
143 141
144 #endif // NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 142 #endif // NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_win.cc ('k') | net/socket/ssl_server_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698