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

Unified Diff: content/browser/service_worker/service_worker_fetch_dispatcher.cc

Issue 2566943002: Dispatch transfer size update notification on mojo-loading (Closed)
Patch Set: fix Created 4 years 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/url_loader_factory_impl_unittest.cc ('k') | content/child/resource_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_fetch_dispatcher.cc
diff --git a/content/browser/service_worker/service_worker_fetch_dispatcher.cc b/content/browser/service_worker/service_worker_fetch_dispatcher.cc
index c074651cb42c469b58061bf9905ee12c50504dfb..ff20932a3a1db9eec2a33a82f898a6e9343306e7 100644
--- a/content/browser/service_worker/service_worker_fetch_dispatcher.cc
+++ b/content/browser/service_worker/service_worker_fetch_dispatcher.cc
@@ -81,6 +81,9 @@ class DelegatingURLLoaderClient final : public mojom::URLLoaderClient {
void OnDataDownloaded(int64_t data_length, int64_t encoded_length) override {
client_->OnDataDownloaded(data_length, encoded_length);
}
+ void OnTransferSizeUpdated(int32_t transfer_size_diff) override {
+ client_->OnTransferSizeUpdated(transfer_size_diff);
+ }
void OnReceiveResponse(
const ResourceResponseHead& head,
mojom::DownloadedTempFilePtr downloaded_file) override {
« no previous file with comments | « content/browser/loader/url_loader_factory_impl_unittest.cc ('k') | content/child/resource_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698