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

Side by Side Diff: components/offline_pages/core/prefetch/prefetch_service_impl.h

Issue 2811813002: [Offline Pages] Set up the initial prefetching service. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_SERVICE_IMPL_H_
6 #define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_SERVICE_IMPL_H_
7
8 #include <vector>
9
10 #include "components/offline_pages/core/prefetch/prefetch_service.h"
11 #include "url/gurl.h"
12
13 namespace offline_pages {
14
15 class PrefetchServiceImpl : public PrefetchService {
16 public:
17 PrefetchServiceImpl();
18 ~PrefetchServiceImpl() override;
19
20 // PrefetchService implementation:
21 void OnNewURLSuggestions(std::vector<GURL> suggested_urls) override;
22 void RemoveAllUnprocessedURLSuggestions() override;
23
24 // KeyedService implementation:
25 void Shutdown() override;
Dmitry Titov 2017/04/11 01:17:14 Is this ever called in Clank? I thought it's all '
dewittj 2017/04/11 21:25:49 Possibly not, but since this code lives in Compone
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(PrefetchServiceImpl);
29 };
30
31 } // namespace offline_pages
32
33 #endif // COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698