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

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: rebase, RuntimeDataTest tweak, win warning 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 38759452665731f8e19258e041a87c54b08cd15f..92e270fe85da59e78b143ab182194bd630d36ebc 100644
--- a/chrome/browser/automation/automation_provider_observers.h
+++ b/chrome/browser/automation/automation_provider_observers.h
@@ -52,7 +52,6 @@
class AutomationProvider;
class Browser;
-class ExtensionService;
class Notification;
class Profile;
class SavePackage;
@@ -76,6 +75,7 @@ class WebContents;
namespace extensions {
class Extension;
+class ExtensionSystem;
class ProcessManager;
}
@@ -327,10 +327,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:
@@ -342,8 +342,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_;
« no previous file with comments | « apps/shell/shell_extensions_browser_client.cc ('k') | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698