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

Side by Side Diff: net/http/http_network_transaction.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/http_cache_transaction.cc ('k') | net/http/http_network_transaction.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_HTTP_HTTP_NETWORK_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int Read(IOBuffer* buf, 71 int Read(IOBuffer* buf,
72 int buf_len, 72 int buf_len,
73 const CompletionCallback& callback) override; 73 const CompletionCallback& callback) override;
74 void StopCaching() override; 74 void StopCaching() override;
75 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; 75 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override;
76 int64_t GetTotalReceivedBytes() const override; 76 int64_t GetTotalReceivedBytes() const override;
77 int64_t GetTotalSentBytes() const override; 77 int64_t GetTotalSentBytes() const override;
78 void DoneReading() override; 78 void DoneReading() override;
79 const HttpResponseInfo* GetResponseInfo() const override; 79 const HttpResponseInfo* GetResponseInfo() const override;
80 LoadState GetLoadState() const override; 80 LoadState GetLoadState() const override;
81 UploadProgress GetUploadProgress() const override;
82 void SetQuicServerInfo(QuicServerInfo* quic_server_info) override; 81 void SetQuicServerInfo(QuicServerInfo* quic_server_info) override;
83 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; 82 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override;
84 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; 83 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override;
85 void PopulateNetErrorDetails(NetErrorDetails* details) const override; 84 void PopulateNetErrorDetails(NetErrorDetails* details) const override;
86 void SetPriority(RequestPriority priority) override; 85 void SetPriority(RequestPriority priority) override;
87 void SetWebSocketHandshakeStreamCreateHelper( 86 void SetWebSocketHandshakeStreamCreateHelper(
88 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override; 87 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override;
89 void SetBeforeNetworkStartCallback( 88 void SetBeforeNetworkStartCallback(
90 const BeforeNetworkStartCallback& callback) override; 89 const BeforeNetworkStartCallback& callback) override;
91 void SetBeforeHeadersSentCallback( 90 void SetBeforeHeadersSentCallback(
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 ConnectionAttempts connection_attempts_; 376 ConnectionAttempts connection_attempts_;
378 IPEndPoint remote_endpoint_; 377 IPEndPoint remote_endpoint_;
379 // Network error details for this transaction. 378 // Network error details for this transaction.
380 NetErrorDetails net_error_details_; 379 NetErrorDetails net_error_details_;
381 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 380 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
382 }; 381 };
383 382
384 } // namespace net 383 } // namespace net
385 384
386 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 385 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698