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

Unified Diff: components/offline_pages/content/suggested_articles_observer_unittest.cc

Issue 2914703002: [Offline Prefetch] Backoff support for PrefetchBackgroundTask (Closed)
Patch Set: Address feedback Created 3 years, 7 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/content/suggested_articles_observer_unittest.cc
diff --git a/components/offline_pages/content/suggested_articles_observer_unittest.cc b/components/offline_pages/content/suggested_articles_observer_unittest.cc
index 6fae70d85ce8c4c5ddd046dbfd82ffb3c4b1b359..645140c09fb201d5ba8baef83523b0b6079dcd1c 100644
--- a/components/offline_pages/content/suggested_articles_observer_unittest.cc
+++ b/components/offline_pages/content/suggested_articles_observer_unittest.cc
@@ -53,7 +53,8 @@ class TestingPrefetchDispatcher : public PrefetchDispatcher {
void BeginBackgroundTask(
std::unique_ptr<ScopedBackgroundTask> task) override {}
- void StopBackgroundTask(ScopedBackgroundTask* task) override {}
+ void StopBackgroundTask() override {}
+ void RequestFinishBackgroundTaskForTest() {}
std::vector<PrefetchURL> latest_prefetch_urls;
std::unique_ptr<ClientId> last_removed_client_id;

Powered by Google App Engine
This is Rietveld 408576698