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

Side by Side Diff: net/http/http_basic_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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/glue/pseudotcp_adapter.cc ('k') | net/http/http_basic_stream.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) 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 // HttpBasicStream is a simple implementation of HttpStream. It assumes it is 5 // HttpBasicStream is a simple implementation of HttpStream. It assumes it is
6 // not sharing a sharing with any other HttpStreams, therefore it just reads and 6 // not sharing a sharing with any other HttpStreams, therefore it just reads and
7 // writes directly to the Http Stream. 7 // writes directly to the Http Stream.
8 8
9 #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_ 9 #ifndef NET_HTTP_HTTP_BASIC_STREAM_H_
10 #define NET_HTTP_HTTP_BASIC_STREAM_H_ 10 #define NET_HTTP_HTTP_BASIC_STREAM_H_
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual bool GetLoadTimingInfo( 72 virtual bool GetLoadTimingInfo(
73 LoadTimingInfo* load_timing_info) const OVERRIDE; 73 LoadTimingInfo* load_timing_info) const OVERRIDE;
74 74
75 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 75 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
76 76
77 virtual void GetSSLCertRequestInfo( 77 virtual void GetSSLCertRequestInfo(
78 SSLCertRequestInfo* cert_request_info) OVERRIDE; 78 SSLCertRequestInfo* cert_request_info) OVERRIDE;
79 79
80 virtual bool IsSpdyHttpStream() const OVERRIDE; 80 virtual bool IsSpdyHttpStream() const OVERRIDE;
81 81
82 virtual void LogNumRttVsBytesMetrics() const OVERRIDE;
83
84 virtual void Drain(HttpNetworkSession* session) OVERRIDE; 82 virtual void Drain(HttpNetworkSession* session) OVERRIDE;
85 83
86 private: 84 private:
87 scoped_refptr<GrowableIOBuffer> read_buf_; 85 scoped_refptr<GrowableIOBuffer> read_buf_;
88 86
89 scoped_ptr<HttpStreamParser> parser_; 87 scoped_ptr<HttpStreamParser> parser_;
90 88
91 scoped_ptr<ClientSocketHandle> connection_; 89 scoped_ptr<ClientSocketHandle> connection_;
92 90
93 bool using_proxy_; 91 bool using_proxy_;
94 92
95 std::string request_line_; 93 std::string request_line_;
96 94
97 const HttpRequestInfo* request_info_; 95 const HttpRequestInfo* request_info_;
98 96
99 const HttpResponseInfo* response_;
100
101 int64 bytes_read_offset_;
102
103 DISALLOW_COPY_AND_ASSIGN(HttpBasicStream); 97 DISALLOW_COPY_AND_ASSIGN(HttpBasicStream);
104 }; 98 };
105 99
106 } // namespace net 100 } // namespace net
107 101
108 #endif // NET_HTTP_HTTP_BASIC_STREAM_H_ 102 #endif // NET_HTTP_HTTP_BASIC_STREAM_H_
OLDNEW
« no previous file with comments | « jingle/glue/pseudotcp_adapter.cc ('k') | net/http/http_basic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698