Chromium Code Reviews| 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 c476f13e90e0bbdf2a47530f71e58bcd3c6c14bb..6f957aafa2db5501ca2818b64f791de412ca66cd 100644 |
| --- a/components/offline_pages/core/prefetch/prefetch_service_impl.h |
| +++ b/components/offline_pages/core/prefetch/prefetch_service_impl.h |
| @@ -14,16 +14,19 @@ namespace offline_pages { |
| class PrefetchServiceImpl : public PrefetchService { |
| public: |
| - PrefetchServiceImpl(); |
| + PrefetchServiceImpl(std::unique_ptr<PrefetchStore> store, |
| + std::unique_ptr<PrefetchDispatcher> dispatcher); |
| ~PrefetchServiceImpl() override; |
| // PrefetchService implementation: |
| PrefetchDispatcher* GetDispatcher() override; |
| + PrefetchStore* GetStore() override; |
| // KeyedService implementation: |
| void Shutdown() override; |
| private: |
| + std::unique_ptr<PrefetchStore> store_; |
|
Dmitry Titov
2017/05/26 23:05:06
prefetch_store_
carlosk
2017/06/01 01:49:59
Done, and below too.
|
| std::unique_ptr<PrefetchDispatcher> dispatcher_; |
| DISALLOW_COPY_AND_ASSIGN(PrefetchServiceImpl); |