Index: extensions/browser/lazy_background_task_queue_factory.h |
diff --git a/extensions/browser/declarative_user_script_manager_factory.h b/extensions/browser/lazy_background_task_queue_factory.h |
similarity index 52% |
copy from extensions/browser/declarative_user_script_manager_factory.h |
copy to extensions/browser/lazy_background_task_queue_factory.h |
index e5056afc7a08866452fa4c29409e1657e9150677..98917c91691f500ed39662afe0c028690f74ef35 100644 |
--- a/extensions/browser/declarative_user_script_manager_factory.h |
+++ b/extensions/browser/lazy_background_task_queue_factory.h |
@@ -2,28 +2,28 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MANAGER_FACTORY_H_ |
-#define EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MANAGER_FACTORY_H_ |
+#ifndef EXTENSIONS_BROWSER_LAZY_BACKGROUND_TASK_QUEUE_FACTORY_H_ |
+#define EXTENSIONS_BROWSER_LAZY_BACKGROUND_TASK_QUEUE_FACTORY_H_ |
#include "base/memory/singleton.h" |
#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
namespace extensions { |
-class DeclarativeUserScriptManager; |
+class LazyBackgroundTaskQueue; |
-class DeclarativeUserScriptManagerFactory |
+class LazyBackgroundTaskQueueFactory |
: public BrowserContextKeyedServiceFactory { |
public: |
- static DeclarativeUserScriptManager* GetForBrowserContext( |
+ static LazyBackgroundTaskQueue* GetForBrowserContext( |
content::BrowserContext* context); |
- static DeclarativeUserScriptManagerFactory* GetInstance(); |
+ static LazyBackgroundTaskQueueFactory* GetInstance(); |
private: |
- friend struct DefaultSingletonTraits<DeclarativeUserScriptManagerFactory>; |
+ friend struct DefaultSingletonTraits<LazyBackgroundTaskQueueFactory>; |
- DeclarativeUserScriptManagerFactory(); |
- ~DeclarativeUserScriptManagerFactory() override; |
+ LazyBackgroundTaskQueueFactory(); |
+ ~LazyBackgroundTaskQueueFactory() override; |
// BrowserContextKeyedServiceFactory implementation |
KeyedService* BuildServiceInstanceFor( |
@@ -31,9 +31,9 @@ class DeclarativeUserScriptManagerFactory |
content::BrowserContext* GetBrowserContextToUse( |
content::BrowserContext* context) const override; |
- DISALLOW_COPY_AND_ASSIGN(DeclarativeUserScriptManagerFactory); |
+ DISALLOW_COPY_AND_ASSIGN(LazyBackgroundTaskQueueFactory); |
}; |
} // namespace extensions |
-#endif // EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MANAGER_FACTORY_H_ |
+#endif // EXTENSIONS_BROWSER_LAZY_BACKGROUND_TASK_QUEUE_FACTORY_H_ |