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

Unified Diff: net/url_request/test_url_fetcher_factory.cc

Issue 2303653002: Precache per-resource cap should be applied on network bytes used (Closed)
Patch Set: rebased Created 4 years, 3 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 | « net/tools/get_server_time/get_server_time.cc ('k') | net/url_request/url_fetcher_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/test_url_fetcher_factory.cc
diff --git a/net/url_request/test_url_fetcher_factory.cc b/net/url_request/test_url_fetcher_factory.cc
index 99d8de68dd081e9a77dfde0ec1b919d1aaf90055..d880fd6ca1801624983f88f14b173b76a17dcbcf 100644
--- a/net/url_request/test_url_fetcher_factory.cc
+++ b/net/url_request/test_url_fetcher_factory.cc
@@ -398,7 +398,7 @@ void FakeURLFetcher::RunDelegate() {
// this with a weak pointer, and only call OnURLFetchComplete if this still
// exists.
auto weak_this = weak_factory_.GetWeakPtr();
- delegate()->OnURLFetchDownloadProgress(this, response_bytes_,
+ delegate()->OnURLFetchDownloadProgress(this, response_bytes_, response_bytes_,
response_bytes_);
if (weak_this.get())
delegate()->OnURLFetchComplete(this);
« no previous file with comments | « net/tools/get_server_time/get_server_time.cc ('k') | net/url_request/url_fetcher_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698