Index: chrome/browser/extensions/extension_management_api.h |
diff --git a/chrome/browser/extensions/extension_management_api.h b/chrome/browser/extensions/extension_management_api.h |
index 04b2c8cad3115639f750d48d861eec1de059fd30..20465c0fc82fa8c2aef65fd996540dd3f2132182 100644 |
--- a/chrome/browser/extensions/extension_management_api.h |
+++ b/chrome/browser/extensions/extension_management_api.h |
@@ -6,7 +6,6 @@ |
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__ |
#pragma once |
-#include "base/memory/singleton.h" |
#include "chrome/browser/extensions/extension_function.h" |
#include "content/common/notification_observer.h" |
#include "content/common/notification_registrar.h" |
@@ -50,18 +49,12 @@ class UninstallFunction : public ExtensionManagementFunction { |
class ExtensionManagementEventRouter : public NotificationObserver { |
public: |
- // Get the singleton instance of the event router. |
- static ExtensionManagementEventRouter* GetInstance(); |
- |
- // Performs one-time initialization of our singleton. |
- void Init(); |
- |
- private: |
- friend struct DefaultSingletonTraits<ExtensionManagementEventRouter>; |
- |
ExtensionManagementEventRouter(); |
virtual ~ExtensionManagementEventRouter(); |
+ void ObserveProfile(Profile* profile); |
+ |
+ private: |
// NotificationObserver implementation. |
virtual void Observe(NotificationType type, |
const NotificationSource& source, |