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

Side by Side Diff: net/quic/chromium/quic_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/http/proxy_connect_redirect_http_stream.cc ('k') | net/quic/chromium/quic_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_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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 30 matching lines...) Expand all
41 ~QuicHttpStream() override; 41 ~QuicHttpStream() override;
42 42
43 // HttpStream implementation. 43 // HttpStream implementation.
44 int InitializeStream(const HttpRequestInfo* request_info, 44 int InitializeStream(const HttpRequestInfo* request_info,
45 RequestPriority priority, 45 RequestPriority priority,
46 const BoundNetLog& net_log, 46 const BoundNetLog& net_log,
47 const CompletionCallback& callback) override; 47 const CompletionCallback& callback) override;
48 int SendRequest(const HttpRequestHeaders& request_headers, 48 int SendRequest(const HttpRequestHeaders& request_headers,
49 HttpResponseInfo* response, 49 HttpResponseInfo* response,
50 const CompletionCallback& callback) override; 50 const CompletionCallback& callback) override;
51 UploadProgress GetUploadProgress() const override;
52 int ReadResponseHeaders(const CompletionCallback& callback) override; 51 int ReadResponseHeaders(const CompletionCallback& callback) override;
53 int ReadResponseBody(IOBuffer* buf, 52 int ReadResponseBody(IOBuffer* buf,
54 int buf_len, 53 int buf_len,
55 const CompletionCallback& callback) override; 54 const CompletionCallback& callback) override;
56 void Close(bool not_reusable) override; 55 void Close(bool not_reusable) override;
57 HttpStream* RenewStreamForAuth() override; 56 HttpStream* RenewStreamForAuth() override;
58 bool IsResponseBodyComplete() const override; 57 bool IsResponseBodyComplete() const override;
59 bool IsConnectionReused() const override; 58 bool IsConnectionReused() const override;
60 void SetConnectionReused() override; 59 void SetConnectionReused() override;
61 bool CanReuseConnection() const override; 60 bool CanReuseConnection() const override;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 bool in_loop_; 214 bool in_loop_;
216 215
217 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 216 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); 218 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream);
220 }; 219 };
221 220
222 } // namespace net 221 } // namespace net
223 222
224 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 223 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/http/proxy_connect_redirect_http_stream.cc ('k') | net/quic/chromium/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698