Index: chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc |
diff --git a/components/offline_pages/content/prefetch_service_factory.cc b/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc |
similarity index 76% |
rename from components/offline_pages/content/prefetch_service_factory.cc |
rename to chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc |
index ffe46b2630825585089479fcd31dfa4165481b54..74c20aa6625f447cae0788b6d82e2b26909f7dab 100644 |
--- a/components/offline_pages/content/prefetch_service_factory.cc |
+++ b/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc |
@@ -2,10 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/offline_pages/content/prefetch_service_factory.h" |
+#include "chrome/browser/offline_pages/prefetch/prefetch_service_factory.h" |
+#include "base/memory/ptr_util.h" |
#include "base/memory/singleton.h" |
+#include "chrome/browser/gcm/gcm_profile_service_factory.h" |
fgorski
2017/05/30 18:20:05
are these includes needed?
dewittj
2017/05/30 21:09:18
Done.
|
+#include "components/gcm_driver/gcm_driver.h" |
+#include "components/gcm_driver/gcm_profile_service.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
+#include "components/offline_pages/core/prefetch/prefetch_gcm_app_handler.h" |
#include "components/offline_pages/core/prefetch/prefetch_service_impl.h" |
#include "content/public/browser/browser_context.h" |
@@ -15,7 +20,6 @@ PrefetchServiceFactory::PrefetchServiceFactory() |
: BrowserContextKeyedServiceFactory( |
"OfflinePagePrefetchService", |
BrowserContextDependencyManager::GetInstance()) {} |
- |
// static |
PrefetchServiceFactory* PrefetchServiceFactory::GetInstance() { |
return base::Singleton<PrefetchServiceFactory>::get(); |