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

Unified Diff: components/offline_pages/core/prefetch/prefetch_service.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.cc
diff --git a/components/offline_pages/core/prefetch/prefetch_service.cc b/components/offline_pages/core/prefetch/prefetch_service.cc
new file mode 100644
index 0000000000000000000000000000000000000000..8527533d1cf0a95941811b5ab9517a3c7a966d5f
--- /dev/null
+++ b/components/offline_pages/core/prefetch/prefetch_service.cc
@@ -0,0 +1,12 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/offline_pages/core/prefetch/prefetch_service.h"
+
+namespace offline_pages {
+
+PrefetchService::ScopedBackgroundTask::ScopedBackgroundTask() = default;
+PrefetchService::ScopedBackgroundTask::~ScopedBackgroundTask() = default;
carlosk 2017/04/19 23:01:38 Was it impossible to define these in the .h?
dewittj 2017/04/20 21:41:45 Yes, lint checks barfed on that
+
+} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698