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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..326054407bb0371c1bd654be862d8fdcbb585b0f |
| --- /dev/null |
| +++ b/components/offline_pages/core/prefetch/prefetch_service_impl.h |
| @@ -0,0 +1,33 @@ |
| +// 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. |
| + |
| +#ifndef COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_SERVICE_IMPL_H_ |
| +#define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_SERVICE_IMPL_H_ |
| + |
| +#include <vector> |
| + |
| +#include "components/offline_pages/core/prefetch/prefetch_service.h" |
| +#include "url/gurl.h" |
| + |
| +namespace offline_pages { |
| + |
| +class PrefetchServiceImpl : public PrefetchService { |
| + public: |
| + PrefetchServiceImpl(); |
| + ~PrefetchServiceImpl() override; |
| + |
| + // PrefetchService implementation: |
| + void OnNewURLSuggestions(std::vector<GURL> suggested_urls) override; |
| + void RemoveAllUnprocessedURLSuggestions() override; |
| + |
| + // KeyedService implementation: |
| + 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
|
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(PrefetchServiceImpl); |
| +}; |
| + |
| +} // namespace offline_pages |
| + |
| +#endif // COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_PREFETCH_SERVICE_IMPL_H_ |