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

Unified Diff: components/offline_pages/core/background/cleanup_task_unittest.cc

Issue 2736843002: Fix the Download Notifications for Offline Pages to indicate bytes loaded. (Closed)
Patch Set: more fixes to more tests. Created 3 years, 9 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/offline_pages/core/background/cleanup_task_unittest.cc
diff --git a/components/offline_pages/core/background/cleanup_task_unittest.cc b/components/offline_pages/core/background/cleanup_task_unittest.cc
index acfb33b128469775f7c63ce2426e7d9d0a9ba67a..84529066c871fb87c30053d13c1103babb341991 100644
--- a/components/offline_pages/core/background/cleanup_task_unittest.cc
+++ b/components/offline_pages/core/background/cleanup_task_unittest.cc
@@ -58,6 +58,9 @@ class RequestNotifierStub : public RequestNotifier {
total_expired_requests_++;
}
+ void NotifyNetworkProgress(const SavePageRequest& request,
+ int64_t received_bytes) override {}
+
const SavePageRequest& last_expired_request() {
return last_expired_request_;
}

Powered by Google App Engine
This is Rietveld 408576698