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

Unified Diff: components/offline_pages/core/prefetch/prefetch_service_impl.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: components/offline_pages/core/prefetch/prefetch_service_impl.cc
diff --git a/components/offline_pages/core/prefetch/prefetch_service_impl.cc b/components/offline_pages/core/prefetch/prefetch_service_impl.cc
index 602b4050e7982f733cd30002ec9d2824972d3e1f..016825f923fce95cf08687e844b213caee27a22a 100644
--- a/components/offline_pages/core/prefetch/prefetch_service_impl.cc
+++ b/components/offline_pages/core/prefetch/prefetch_service_impl.cc
@@ -22,6 +22,10 @@ void PrefetchServiceImpl::RemovePrefetchURLsByClientId(
const ClientId& client_id) {
NOTIMPLEMENTED();
}
+void PrefetchServiceImpl::BeginBackgroundTask(
+ std::unique_ptr<ScopedBackgroundTask> task) {}
+
+void PrefetchServiceImpl::StopBackgroundTask(ScopedBackgroundTask* task) {}
void PrefetchServiceImpl::Shutdown() {}

Powered by Google App Engine
This is Rietveld 408576698