| Index: chrome/browser/android/offline_pages/prefetch/prefetch_service_factory.h
|
| diff --git a/components/offline_pages/content/prefetch_service_factory.h b/chrome/browser/android/offline_pages/prefetch/prefetch_service_factory.h
|
| similarity index 76%
|
| rename from components/offline_pages/content/prefetch_service_factory.h
|
| rename to chrome/browser/android/offline_pages/prefetch/prefetch_service_factory.h
|
| index c7f4fb16696cc9fc71368d0547c385f894e01bcc..2e9b3a8facba04e3c8aeb484775b173fa5eaa66e 100644
|
| --- a/components/offline_pages/content/prefetch_service_factory.h
|
| +++ b/chrome/browser/android/offline_pages/prefetch/prefetch_service_factory.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_OFFLINE_PAGES_CONTENT_PREFETCH_SERVICE_FACTORY_H_
|
| -#define COMPONENTS_OFFLINE_PAGES_CONTENT_PREFETCH_SERVICE_FACTORY_H_
|
| +#ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PREFETCH_PREFETCH_SERVICE_FACTORY_H_
|
| +#define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PREFETCH_PREFETCH_SERVICE_FACTORY_H_
|
|
|
| #include "base/macros.h"
|
| #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
| @@ -26,6 +26,9 @@ class PrefetchServiceFactory : public BrowserContextKeyedServiceFactory {
|
| static PrefetchService* GetForBrowserContext(
|
| content::BrowserContext* context);
|
|
|
| + // BrowserContextKeyedServiceFactory overrides.
|
| + bool ServiceIsCreatedWithBrowserContext() const override;
|
| +
|
| private:
|
| friend struct base::DefaultSingletonTraits<PrefetchServiceFactory>;
|
|
|
| @@ -40,4 +43,4 @@ class PrefetchServiceFactory : public BrowserContextKeyedServiceFactory {
|
|
|
| } // namespace offline_pages
|
|
|
| -#endif // COMPONENTS_OFFLINE_PAGES_CONTENT_PREFETCH_SERVICE_FACTORY_H_
|
| +#endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_PREFETCH_PREFETCH_SERVICE_FACTORY_H_
|
|
|