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

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

Issue 2879013002: Create skeleton for the Prefetching store and initial pipeline step. (Closed)
Patch Set: A couple of minor changes. 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/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 9e86aba0b591bdd968aaa7e42cfabc1545323a42..7b95941008cd1728842eeacbab299081fc086b2d 100644
--- a/components/offline_pages/core/prefetch/prefetch_service_impl.cc
+++ b/components/offline_pages/core/prefetch/prefetch_service_impl.cc
@@ -11,8 +11,8 @@
namespace offline_pages {
-PrefetchServiceImpl::PrefetchServiceImpl()
- : dispatcher_(base::MakeUnique<PrefetchDispatcherImpl>()) {}
+PrefetchServiceImpl::PrefetchServiceImpl(std::unique_ptr<PrefetchStore> store)
+ : dispatcher_(base::MakeUnique<PrefetchDispatcherImpl>(std::move(store))) {}
PrefetchServiceImpl::~PrefetchServiceImpl() = default;

Powered by Google App Engine
This is Rietveld 408576698