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 96192c4acd8661a21abb9fc79b3038e58c253b3b..5274227a30a0e284846803d5d4a57d8973c16e42 100644 |
--- a/content/child/url_loader_client_impl.cc |
+++ b/content/child/url_loader_client_impl.cc |
@@ -178,4 +178,12 @@ 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( |
kinuko
2017/01/23 08:23:03
Could we / should we use Dispatch() instead?
tzik
2017/01/23 09:34:17
Done.
|
+ ResourceMsg_UploadProgress(request_id_, current_position, total_size)); |
+ ack_callback.Run(); |
+} |
+ |
} // namespace content |