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

Side by Side Diff: net/spdy/spdy_http_stream.h

Issue 2330983002: Removes get upload progress plumbing. URLRequest queries the UploadDataStream directly. (Closed)
Patch Set: Feedback incorporated. Created 4 years, 3 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
« no previous file with comments | « net/quic/chromium/quic_http_stream.cc ('k') | net/spdy/spdy_http_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 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_
6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // HttpStream implementation. 45 // HttpStream implementation.
46 46
47 int InitializeStream(const HttpRequestInfo* request_info, 47 int InitializeStream(const HttpRequestInfo* request_info,
48 RequestPriority priority, 48 RequestPriority priority,
49 const BoundNetLog& net_log, 49 const BoundNetLog& net_log,
50 const CompletionCallback& callback) override; 50 const CompletionCallback& callback) override;
51 51
52 int SendRequest(const HttpRequestHeaders& headers, 52 int SendRequest(const HttpRequestHeaders& headers,
53 HttpResponseInfo* response, 53 HttpResponseInfo* response,
54 const CompletionCallback& callback) override; 54 const CompletionCallback& callback) override;
55 UploadProgress GetUploadProgress() const override;
56 int ReadResponseHeaders(const CompletionCallback& callback) override; 55 int ReadResponseHeaders(const CompletionCallback& callback) override;
57 int ReadResponseBody(IOBuffer* buf, 56 int ReadResponseBody(IOBuffer* buf,
58 int buf_len, 57 int buf_len,
59 const CompletionCallback& callback) override; 58 const CompletionCallback& callback) override;
60 void Close(bool not_reusable) override; 59 void Close(bool not_reusable) override;
61 HttpStream* RenewStreamForAuth() override; 60 HttpStream* RenewStreamForAuth() override;
62 bool IsResponseBodyComplete() const override; 61 bool IsResponseBodyComplete() const override;
63 62
64 // Must not be called if a NULL SpdySession was pssed into the 63 // Must not be called if a NULL SpdySession was pssed into the
65 // constructor. 64 // constructor.
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 NextProto negotiated_protocol_; 196 NextProto negotiated_protocol_;
198 197
199 base::WeakPtrFactory<SpdyHttpStream> weak_factory_; 198 base::WeakPtrFactory<SpdyHttpStream> weak_factory_;
200 199
201 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 200 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
202 }; 201 };
203 202
204 } // namespace net 203 } // namespace net
205 204
206 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 205 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_http_stream.cc ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698