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

Unified Diff: chrome/browser/automation/automation_provider_observers.h

Issue 131743021: app_shell: Extract extension runtime data from ExtensionService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup, unit test (runtime_data) Created 6 years, 11 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: 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..062642051e0fab24bd04eb85bf1c47efad48a04e 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,8 +328,7 @@ class ExtensionReadyNotificationObserver
: public content::NotificationObserver {
public:
// Creates an observer that replies using the JSON automation interface.
- ExtensionReadyNotificationObserver(extensions::ProcessManager* manager,
- ExtensionService* service,
+ ExtensionReadyNotificationObserver(extensions::ExtensionSystem* system,
AutomationProvider* automation,
IPC::Message* reply_message);
virtual ~ExtensionReadyNotificationObserver();
@@ -343,8 +342,7 @@ class ExtensionReadyNotificationObserver
void Init();
content::NotificationRegistrar registrar_;
- extensions::ProcessManager* manager_;
- ExtensionService* service_;
+ extensions::ExtensionSystem* system_;
base::WeakPtr<AutomationProvider> automation_;
scoped_ptr<IPC::Message> reply_message_;
const extensions::Extension* extension_;

Powered by Google App Engine
This is Rietveld 408576698