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

Unified Diff: components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc

Issue 2914703002: [Offline Prefetch] Backoff support for PrefetchBackgroundTask (Closed)
Patch Set: Fix test Created 3 years, 6 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 | « components/offline_pages/core/prefetch/prefetch_dispatcher_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc
diff --git a/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc b/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc
index 6ed4c1b5805e65729eef922fe7b7c5112a45a41d..de04af682eb057100544ce095912c172a9d41205 100644
--- a/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc
+++ b/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc
@@ -55,7 +55,8 @@ class TestingPrefetchDispatcher : public PrefetchDispatcher {
void BeginBackgroundTask(
std::unique_ptr<ScopedBackgroundTask> task) override {}
- void StopBackgroundTask(ScopedBackgroundTask* task) override {}
+ void StopBackgroundTask() override {}
+ void RequestFinishBackgroundTaskForTest() override {}
std::vector<PrefetchURL> latest_prefetch_urls;
ClientId last_removed_client_id;
« no previous file with comments | « components/offline_pages/core/prefetch/prefetch_dispatcher_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698