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

Unified Diff: content/browser/loader/async_resource_handler.h

Issue 2612903008: Add UploadProgressTracker unittest (Closed)
Patch Set: +expectation for unreported small progress. Created 3 years, 11 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
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/async_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/async_resource_handler.h
diff --git a/content/browser/loader/async_resource_handler.h b/content/browser/loader/async_resource_handler.h
index fb69ec7bc1e59a02d8b1dc2ac617b47cdfceebb1..dbf3b03503a43e5652e5d4a2259a4b4fffc5b263 100644
--- a/content/browser/loader/async_resource_handler.h
+++ b/content/browser/loader/async_resource_handler.h
@@ -20,6 +20,7 @@
namespace net {
class URLRequest;
+class UploadProgress;
}
namespace content {
@@ -67,7 +68,7 @@ class CONTENT_EXPORT AsyncResourceHandler : public ResourceHandler,
int CalculateEncodedDataLengthToReport();
int CalculateEncodedBodyLengthToReport();
void RecordHistogram();
- void SendUploadProgress(int64_t current_position, int64_t total_size);
+ void SendUploadProgress(const net::UploadProgress& progress);
scoped_refptr<ResourceBuffer> buffer_;
ResourceDispatcherHostImpl* rdh_;
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698