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

Unified Diff: components/precache/core/fetcher_pool_unittest.cc

Issue 2378173002: Precache per-resource cap should be applied on network bytes used (Closed)
Patch Set: 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
Index: components/precache/core/fetcher_pool_unittest.cc
diff --git a/components/precache/core/fetcher_pool_unittest.cc b/components/precache/core/fetcher_pool_unittest.cc
index 09296a17d7a73a64b40f83dc1f4e78ce1fb9542e..f3d9de48076582493123d8a0335958d7b54e7b53 100644
--- a/components/precache/core/fetcher_pool_unittest.cc
+++ b/components/precache/core/fetcher_pool_unittest.cc
@@ -39,8 +39,11 @@ class MockURLFetcherDelegate : public net::URLFetcherDelegate {
virtual ~MockURLFetcherDelegate() {};
MOCK_METHOD1(OnURLFetchComplete, void(const URLFetcher*));
- MOCK_METHOD3(OnURLFetchDownloadProgress,
- void(const URLFetcher* source, int64_t current, int64_t total));
+ MOCK_METHOD4(OnURLFetchDownloadProgress,
+ void(const URLFetcher* source,
+ int64_t current,
+ int64_t total,
+ int64_t current_network_bytes));
MOCK_METHOD3(OnURLFetchUploadProgress,
void(const URLFetcher* source, int64_t current, int64_t total));
};

Powered by Google App Engine
This is Rietveld 408576698