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

Unified Diff: net/socket/ssl_client_socket_nss.h

Issue 10014010: net: False Start only for NPN capable servers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: net/socket/ssl_client_socket_nss.h
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h
index 08602760436defb685c6042fdbdba31ba9b66f54..b708504b9fb9440470729831465d616a57af3f9f 100644
--- a/net/socket/ssl_client_socket_nss.h
+++ b/net/socket/ssl_client_socket_nss.h
@@ -147,7 +147,6 @@ class SSLClientSocketNSS : public SSLClientSocket {
int DoPayloadWrite();
void LogConnectionTypeMetrics() const;
void SaveSSLHostInfo();
- void UncorkAfterTimeout();
wtc 2012/04/17 22:46:09 It seems that the corking code is still useful to
bool DoTransportIO();
int BufferSend(void);
@@ -211,12 +210,6 @@ class SSLClientSocketNSS : public SSLClientSocket {
bool transport_send_busy_;
bool transport_recv_busy_;
- // corked_ is true if we are currently suspending writes to the network. This
- // is named after the similar kernel flag, TCP_CORK.
- bool corked_;
- // uncork_timer_ is used to limit the amount of time that we'll delay the
- // Finished message while waiting for a Write.
- base::OneShotTimer<SSLClientSocketNSS> uncork_timer_;
scoped_refptr<IOBuffer> recv_buffer_;
scoped_ptr<ClientSocketHandle> transport_;

Powered by Google App Engine
This is Rietveld 408576698