Index: chrome/browser/automation/automation_provider_observers.h |
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h |
index 3e512ba616b8d2aa5cb585d4bd5c837af9ed2b52..1d5a3352c122c9b4829d2911c172c96ac40c52e9 100644 |
--- a/chrome/browser/automation/automation_provider_observers.h |
+++ b/chrome/browser/automation/automation_provider_observers.h |
@@ -53,7 +53,6 @@ |
class AutomationProvider; |
class BalloonCollection; |
class Browser; |
-class ExtensionService; |
class Notification; |
class Profile; |
class SavePackage; |
@@ -77,6 +76,7 @@ class WebContents; |
namespace extensions { |
class Extension; |
+class ExtensionSystem; |
class ProcessManager; |
} |
@@ -328,10 +328,10 @@ class ExtensionReadyNotificationObserver |
: public content::NotificationObserver { |
public: |
// Creates an observer that replies using the JSON automation interface. |
- ExtensionReadyNotificationObserver(extensions::ProcessManager* manager, |
- ExtensionService* service, |
- AutomationProvider* automation, |
- IPC::Message* reply_message); |
+ ExtensionReadyNotificationObserver( |
+ extensions::ExtensionSystem* extension_system, |
+ AutomationProvider* automation, |
+ IPC::Message* reply_message); |
virtual ~ExtensionReadyNotificationObserver(); |
// Overridden from content::NotificationObserver: |
@@ -343,8 +343,7 @@ class ExtensionReadyNotificationObserver |
void Init(); |
content::NotificationRegistrar registrar_; |
- extensions::ProcessManager* manager_; |
- ExtensionService* service_; |
+ extensions::ExtensionSystem* extension_system_; |
base::WeakPtr<AutomationProvider> automation_; |
scoped_ptr<IPC::Message> reply_message_; |
const extensions::Extension* extension_; |