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

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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ~QuicHttpStream() override; 42 ~QuicHttpStream() override;
43 43
44 // HttpStream implementation. 44 // HttpStream implementation.
45 int InitializeStream(const HttpRequestInfo* request_info, 45 int InitializeStream(const HttpRequestInfo* request_info,
46 RequestPriority priority, 46 RequestPriority priority,
47 const BoundNetLog& net_log, 47 const BoundNetLog& net_log,
48 const CompletionCallback& callback) override; 48 const CompletionCallback& callback) override;
49 int SendRequest(const HttpRequestHeaders& request_headers, 49 int SendRequest(const HttpRequestHeaders& request_headers,
50 HttpResponseInfo* response, 50 HttpResponseInfo* response,
51 const CompletionCallback& callback) override; 51 const CompletionCallback& callback) override;
52 UploadProgress GetUploadProgress() const override;
53 int ReadResponseHeaders(const CompletionCallback& callback) override; 52 int ReadResponseHeaders(const CompletionCallback& callback) override;
54 int ReadResponseBody(IOBuffer* buf, 53 int ReadResponseBody(IOBuffer* buf,
55 int buf_len, 54 int buf_len,
56 const CompletionCallback& callback) override; 55 const CompletionCallback& callback) override;
57 void Close(bool not_reusable) override; 56 void Close(bool not_reusable) override;
58 HttpStream* RenewStreamForAuth() override; 57 HttpStream* RenewStreamForAuth() override;
59 bool IsResponseBodyComplete() const override; 58 bool IsResponseBodyComplete() const override;
60 bool IsConnectionReused() const override; 59 bool IsConnectionReused() const override;
61 void SetConnectionReused() override; 60 void SetConnectionReused() override;
62 bool CanReuseConnection() const override; 61 bool CanReuseConnection() const override;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 LoadTimingInfo::ConnectTiming connect_timing_; 218 LoadTimingInfo::ConnectTiming connect_timing_;
220 219
221 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 220 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
222 221
223 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); 222 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream);
224 }; 223 };
225 224
226 } // namespace net 225 } // namespace net
227 226
228 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 227 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698