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

Unified Diff: components/offline_pages/core/prefetch/prefetch_service_impl.h

Issue 2820263002: [Offline Prefetch] Create a new JobScheduler task to wake up for net activity. (Closed)
Patch Set: tommycli@ comments. 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.h
diff --git a/components/offline_pages/core/prefetch/prefetch_service_impl.h b/components/offline_pages/core/prefetch/prefetch_service_impl.h
index 7d7b72e18874040d5a55cb3b6213ebc48c1adb9d..69346aa356ad721f13d34b818cdb714cced3531d 100644
--- a/components/offline_pages/core/prefetch/prefetch_service_impl.h
+++ b/components/offline_pages/core/prefetch/prefetch_service_impl.h
@@ -22,6 +22,8 @@ class PrefetchServiceImpl : public PrefetchService {
const std::vector<PrefetchURL>& suggested_urls) override;
void RemoveAllUnprocessedPrefetchURLs(const std::string& name_space) override;
void RemovePrefetchURLsByClientId(const ClientId& client_id) override;
+ void BeginBackgroundTask(std::unique_ptr<ScopedBackgroundTask> task) override;
+ void StopBackgroundTask(ScopedBackgroundTask* task) override;
// KeyedService implementation:
void Shutdown() override;

Powered by Google App Engine
This is Rietveld 408576698