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

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

Issue 2742833004: Fix the Download Notifications for Offline Pages to indicate bytes loaded. (Closed)
Patch Set: 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/pick_request_task_unittest.cc
diff --git a/components/offline_pages/core/background/pick_request_task_unittest.cc b/components/offline_pages/core/background/pick_request_task_unittest.cc
index f1e249b1ab608dc95542acedb9007df85978b812..1b3ca4642f0430a4746d6c8ad3a8e9cd3ea4ae7e 100644
--- a/components/offline_pages/core/background/pick_request_task_unittest.cc
+++ b/components/offline_pages/core/background/pick_request_task_unittest.cc
@@ -67,6 +67,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