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

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

Issue 2574143003: Implement upload progress handling in Mojo loading (Closed)
Patch Set: update TestExpectations 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
Index: content/browser/loader/test_url_loader_client.h
diff --git a/content/browser/loader/test_url_loader_client.h b/content/browser/loader/test_url_loader_client.h
index 8776f448532b02865e062fdea44bff92b1132d12..a38ed62fd7f040cf07cb112c52d8626deaf2631d 100644
--- a/content/browser/loader/test_url_loader_client.h
+++ b/content/browser/loader/test_url_loader_client.h
@@ -34,6 +34,9 @@ class TestURLLoaderClient final : public mojom::URLLoaderClient {
const ResourceResponseHead& response_head) override;
void OnDataDownloaded(int64_t data_length, int64_t encoded_length) override;
void OnTransferSizeUpdated(int32_t transfer_size_diff) override;
+ void OnUploadProgress(int64_t current_position,
+ int64_t total_size,
+ const base::Closure& ack_callback) override;
void OnStartLoadingResponseBody(
mojo::ScopedDataPipeConsumerHandle body) override;
void OnComplete(const ResourceRequestCompletionStatus& status) override;

Powered by Google App Engine
This is Rietveld 408576698