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

Unified Diff: content/child/url_loader_client_impl.cc

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/child/url_loader_client_impl.cc
diff --git a/content/child/url_loader_client_impl.cc b/content/child/url_loader_client_impl.cc
index 04aee613ace7c63b19db4b3b8c5f995f9cf9ba30..00886e686ead3300ea1a8d6c10645e1bf6912a7e 100644
--- a/content/child/url_loader_client_impl.cc
+++ b/content/child/url_loader_client_impl.cc
@@ -174,4 +174,13 @@ void URLLoaderClientImpl::Dispatch(const IPC::Message& message) {
}
}
+
+void URLLoaderClientImpl::OnUploadProgress(int64_t current_position,
+ int64_t total_size,
+ const base::Closure& ack_callback) {
+ resource_dispatcher_->OnMessageReceived(
+ ResourceMsg_UploadProgress(request_id_, current_position, total_size));
+ ack_callback.Run();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698