Index: chrome/browser/background/background_application_list_model.h |
diff --git a/chrome/browser/background/background_application_list_model.h b/chrome/browser/background/background_application_list_model.h |
index 282cf45978da2a469465a8e13f41b1380211ced0..26fbc323decb8feda50a8a6aa1fd5ef55d023f57 100644 |
--- a/chrome/browser/background/background_application_list_model.h |
+++ b/chrome/browser/background/background_application_list_model.h |
@@ -101,9 +101,6 @@ class BackgroundApplicationListModel : public content::NotificationObserver { |
// represented by the Extension class. |
class Application; |
- // Associates extension id strings with Application objects. |
- typedef std::map<std::string, Application*> ApplicationMap; |
- |
// Identifies and caches data related to the extension. |
void AssociateApplicationData(const extensions::Extension* extension); |
@@ -146,7 +143,9 @@ class BackgroundApplicationListModel : public content::NotificationObserver { |
// Refresh the list of background applications and generate notifications. |
void Update(); |
- ApplicationMap applications_; |
+ // Associates extension id strings with Application objects. |
+ std::map<std::string, std::unique_ptr<Application>> applications_; |
+ |
extensions::ExtensionList extensions_; |
base::ObserverList<Observer, true> observers_; |
Profile* profile_; |