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

Unified Diff: chrome/browser/extensions/extension_system.h

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master Created 8 years, 5 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
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_system.h
diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h
index 4441739f5ea320d378e76909e286a15fc380cb67..3b7921b1b1b2c7791467f5501c86481eaf7a9d31 100644
--- a/chrome/browser/extensions/extension_system.h
+++ b/chrome/browser/extensions/extension_system.h
@@ -17,7 +17,6 @@
#include "chrome/common/extensions/extension_constants.h"
class ExtensionDevToolsManager;
-class ExtensionEventRouter;
class ExtensionInfoMap;
class ExtensionMessageService;
class ExtensionNavigationObserver;
@@ -29,6 +28,7 @@ namespace extensions {
// Unfortunately, for the ApiResourceManager<> template classes, we don't seem
// to be able to forward-declare because of compilation errors on Windows.
class AlarmManager;
+class EventRouter;
class Extension;
class ExtensionPrefs;
class ExtensionSystemSharedFactory;
@@ -92,8 +92,8 @@ class ExtensionSystem : public ProfileKeyedService {
// The ExtensionMessageService is created at startup.
virtual ExtensionMessageService* message_service() = 0;
- // The ExtensionEventRouter is created at startup.
- virtual ExtensionEventRouter* event_router() = 0;
+ // The EventRouter is created at startup.
+ virtual EventRouter* event_router() = 0;
// The RulesRegistryService is created at startup.
virtual RulesRegistryService* rules_registry_service() = 0;
@@ -152,7 +152,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
OVERRIDE; // shared
virtual ExtensionInfoMap* info_map() OVERRIDE; // shared
virtual ExtensionMessageService* message_service() OVERRIDE; // shared
- virtual ExtensionEventRouter* event_router() OVERRIDE; // shared
+ virtual EventRouter* event_router() OVERRIDE; // shared
virtual RulesRegistryService* rules_registry_service()
OVERRIDE; // shared
virtual ApiResourceManager<SerialConnection>* serial_connection_manager()
@@ -192,7 +192,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
ExtensionInfoMap* info_map();
LazyBackgroundTaskQueue* lazy_background_task_queue();
ExtensionMessageService* message_service();
- ExtensionEventRouter* event_router();
+ EventRouter* event_router();
RulesRegistryService* rules_registry_service();
private:
@@ -208,10 +208,10 @@ class ExtensionSystemImpl : public ExtensionSystem {
scoped_refptr<UserScriptMaster> user_script_master_;
// extension_info_map_ needs to outlive extension_process_manager_.
scoped_refptr<ExtensionInfoMap> extension_info_map_;
- // This is a dependency of ExtensionMessageService and ExtensionEventRouter.
+ // This is a dependency of ExtensionMessageService and EventRouter.
scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_;
scoped_ptr<ExtensionMessageService> extension_message_service_;
- scoped_ptr<ExtensionEventRouter> extension_event_router_;
+ scoped_ptr<EventRouter> extension_event_router_;
scoped_ptr<ExtensionNavigationObserver> extension_navigation_observer_;
scoped_ptr<RulesRegistryService> rules_registry_service_;
};
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698