diff options
Diffstat (limited to 'chrome/browser/extensions/extension_message_service.h')
-rw-r--r-- | chrome/browser/extensions/extension_message_service.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_message_service.h b/chrome/browser/extensions/extension_message_service.h index c0c953b..3f3a7bd 100644 --- a/chrome/browser/extensions/extension_message_service.h +++ b/chrome/browser/extensions/extension_message_service.h @@ -16,7 +16,6 @@ #include "content/public/browser/notification_registrar.h" class ExtensionHost; -class LazyBackgroundTaskQueue; class Profile; namespace content { @@ -24,6 +23,10 @@ class RenderProcessHost; class WebContents; } +namespace extensions { +class LazyBackgroundTaskQueue; +} + // This class manages message and event passing between renderer processes. // It maintains a list of processes that are listening to events and a set of // open channels. @@ -57,7 +60,7 @@ class ExtensionMessageService : public content::NotificationObserver { // NOTE: this can be called from any thread. static void AllocatePortIdPair(int* port1, int* port2); - explicit ExtensionMessageService(LazyBackgroundTaskQueue* queue); + explicit ExtensionMessageService(extensions::LazyBackgroundTaskQueue* queue); virtual ~ExtensionMessageService(); // Given an extension's ID, opens a channel between the given renderer "port" @@ -137,7 +140,7 @@ class ExtensionMessageService : public content::NotificationObserver { PendingChannelMap pending_channels_; // Weak pointer. Guaranteed to outlive this class. - LazyBackgroundTaskQueue* lazy_background_task_queue_; + extensions::LazyBackgroundTaskQueue* lazy_background_task_queue_; DISALLOW_COPY_AND_ASSIGN(ExtensionMessageService); }; |