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

Unified Diff: chrome/browser/background/background_application_list_model.h

Issue 2318303002: Remove stl_util's STLDeleteContainerPairSecondPointers. (Closed)
Patch Set: fix Created 4 years, 3 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/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_;
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/background/background_application_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698