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

Unified Diff: net/http/http_stream_parser.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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_stream_parser.h
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
index f5dbd0d564c012cd2f68b9976d15c91dcef7dafb..806caa35e7b6d4f812abb01d21d07e33906507f2 100644
--- a/net/http/http_stream_parser.h
+++ b/net/http/http_stream_parser.h
@@ -19,7 +19,6 @@
#include "net/base/completion_callback.h"
#include "net/base/net_errors.h"
#include "net/base/net_export.h"
-#include "net/base/upload_progress.h"
#include "net/log/net_log.h"
namespace net {
@@ -72,10 +71,6 @@ class NET_EXPORT_PRIVATE HttpStreamParser {
void Close(bool not_reusable);
- // Returns the progress of uploading. When data is chunked, size is set to
- // zero, but position will not be.
- UploadProgress GetUploadProgress() const;
-
bool IsResponseBodyComplete() const;
bool CanFindEndOfResponse() const;

Powered by Google App Engine
This is Rietveld 408576698