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

Unified Diff: chrome/browser/android/offline_pages/suggested_articles_observer_unittest.cc

Issue 2820263002: [Offline Prefetch] Create a new JobScheduler task to wake up for net activity. (Closed)
Patch Set: Remove the "Is Scheduled" check because it's not supported by BackgroundTaskScheduler. Created 3 years, 8 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: chrome/browser/android/offline_pages/suggested_articles_observer_unittest.cc
diff --git a/chrome/browser/android/offline_pages/suggested_articles_observer_unittest.cc b/chrome/browser/android/offline_pages/suggested_articles_observer_unittest.cc
index 3eca5c189d76f71c9247e04311cdbdb864d5e1e0..6fb9c274c30f765b3627837c5b04900e51ba153f 100644
--- a/chrome/browser/android/offline_pages/suggested_articles_observer_unittest.cc
+++ b/chrome/browser/android/offline_pages/suggested_articles_observer_unittest.cc
@@ -50,6 +50,10 @@ class TestingPrefetchService : public PrefetchService {
last_removed_client_id = base::MakeUnique<ClientId>(client_id);
}
+ void BeginBackgroundTask(
+ std::unique_ptr<ScopedBackgroundTask> task) override {}
+ void StopBackgroundTask(ScopedBackgroundTask* task) override {}
+
std::vector<PrefetchURL> latest_prefetch_urls;
std::unique_ptr<ClientId> last_removed_client_id;

Powered by Google App Engine
This is Rietveld 408576698