Index: chrome/browser/offline_pages/prefetch/prefetch_service_factory.h |
diff --git a/components/offline_pages/content/prefetch_service_factory.h b/chrome/browser/offline_pages/prefetch/prefetch_service_factory.h |
similarity index 80% |
rename from components/offline_pages/content/prefetch_service_factory.h |
rename to chrome/browser/offline_pages/prefetch/prefetch_service_factory.h |
index c7f4fb16696cc9fc71368d0547c385f894e01bcc..ea620ccbb1d573302820baa764d2813cc9ca4f91 100644 |
--- a/components/offline_pages/content/prefetch_service_factory.h |
+++ b/chrome/browser/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_OFFLINE_PAGES_PREFETCH_PREFETCH_SERVICE_FACTORY_H_ |
+#define CHROME_BROWSER_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,8 @@ class PrefetchServiceFactory : public BrowserContextKeyedServiceFactory { |
static PrefetchService* GetForBrowserContext( |
content::BrowserContext* context); |
+ bool ServiceIsCreatedWithBrowserContext() const override; |
+ |
private: |
friend struct base::DefaultSingletonTraits<PrefetchServiceFactory>; |
@@ -40,4 +42,4 @@ class PrefetchServiceFactory : public BrowserContextKeyedServiceFactory { |
} // namespace offline_pages |
-#endif // COMPONENTS_OFFLINE_PAGES_CONTENT_PREFETCH_SERVICE_FACTORY_H_ |
+#endif // CHROME_BROWSER_OFFLINE_PAGES_PREFETCH_PREFETCH_SERVICE_FACTORY_H_ |