Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: extensions/browser/lazy_background_task_queue_factory.h

Issue 1129063011: Extract LazyBackgroundTaskQueue from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased from master Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « extensions/browser/lazy_background_task_queue.cc ('k') | extensions/browser/lazy_background_task_queue_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698