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

Unified Diff: components/offline_pages/core/background/request_queue_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/request_queue_unittest.cc
diff --git a/components/offline_pages/core/background/request_queue_unittest.cc b/components/offline_pages/core/background/request_queue_unittest.cc
index 3f5dc45564d1d59a900654811b776e373e17a420..ed9054bc6c0df413866a6c447e33a4ec022f2d5a 100644
--- a/components/offline_pages/core/background/request_queue_unittest.cc
+++ b/components/offline_pages/core/background/request_queue_unittest.cc
@@ -63,6 +63,11 @@ class RequestNotifierStub : public RequestNotifier {
total_expired_requests_++;
}
+ void NotifyNetworkProgress(const SavePageRequest& request,
+ int64_t received_bytes) override {
+ // This has nothing to do with the queue (progress is ephemeral) - no test.
+ }
+
const SavePageRequest& last_expired_request() {
return last_expired_request_;
}

Powered by Google App Engine
This is Rietveld 408576698