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

Side by Side Diff: net/quic/quic_http_stream.h

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 9 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/http/http_stream.h ('k') | net/socket/buffered_write_stream_socket.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_QUIC_QUIC_HTTP_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_
6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual bool CanFindEndOfResponse() const OVERRIDE; 45 virtual bool CanFindEndOfResponse() const OVERRIDE;
46 virtual bool IsConnectionReused() const OVERRIDE; 46 virtual bool IsConnectionReused() const OVERRIDE;
47 virtual void SetConnectionReused() OVERRIDE; 47 virtual void SetConnectionReused() OVERRIDE;
48 virtual bool IsConnectionReusable() const OVERRIDE; 48 virtual bool IsConnectionReusable() const OVERRIDE;
49 virtual bool GetLoadTimingInfo( 49 virtual bool GetLoadTimingInfo(
50 LoadTimingInfo* load_timing_info) const OVERRIDE; 50 LoadTimingInfo* load_timing_info) const OVERRIDE;
51 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 51 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
52 virtual void GetSSLCertRequestInfo( 52 virtual void GetSSLCertRequestInfo(
53 SSLCertRequestInfo* cert_request_info) OVERRIDE; 53 SSLCertRequestInfo* cert_request_info) OVERRIDE;
54 virtual bool IsSpdyHttpStream() const OVERRIDE; 54 virtual bool IsSpdyHttpStream() const OVERRIDE;
55 virtual void LogNumRttVsBytesMetrics() const OVERRIDE {}
56 virtual void Drain(HttpNetworkSession* session) OVERRIDE; 55 virtual void Drain(HttpNetworkSession* session) OVERRIDE;
57 56
58 // QuicReliableClientStream::Delegate implementation 57 // QuicReliableClientStream::Delegate implementation
59 virtual int OnSendData() OVERRIDE; 58 virtual int OnSendData() OVERRIDE;
60 virtual int OnSendDataComplete(int status, bool* eof) OVERRIDE; 59 virtual int OnSendDataComplete(int status, bool* eof) OVERRIDE;
61 virtual int OnDataReceived(const char* data, int length) OVERRIDE; 60 virtual int OnDataReceived(const char* data, int length) OVERRIDE;
62 virtual void OnClose(QuicErrorCode error) OVERRIDE; 61 virtual void OnClose(QuicErrorCode error) OVERRIDE;
63 virtual void OnError(int error) OVERRIDE; 62 virtual void OnError(int error) OVERRIDE;
64 63
65 private: 64 private:
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 scoped_refptr<DrainableIOBuffer> request_body_buf_; 135 scoped_refptr<DrainableIOBuffer> request_body_buf_;
137 136
138 BoundNetLog stream_net_log_; 137 BoundNetLog stream_net_log_;
139 138
140 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 139 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
141 }; 140 };
142 141
143 } // namespace net 142 } // namespace net
144 143
145 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 144 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/http/http_stream.h ('k') | net/socket/buffered_write_stream_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698