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

Unified Diff: storage/browser/fileapi/external_mount_points.h

Issue 2347253002: Remove stl_util's STLDeleteContainerPairSecondPointers from storage/. (Closed)
Patch Set: danakj 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
« no previous file with comments | « no previous file | storage/browser/fileapi/external_mount_points.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/external_mount_points.h
diff --git a/storage/browser/fileapi/external_mount_points.h b/storage/browser/fileapi/external_mount_points.h
index af853d73a972882b10ac53cc00a16b1d9d0e73cd..36f5ebd5ed21457078f0db10ff85b83dd3da6a3f 100644
--- a/storage/browser/fileapi/external_mount_points.h
+++ b/storage/browser/fileapi/external_mount_points.h
@@ -6,6 +6,7 @@
#define STORAGE_BROWSER_FILEAPI_EXTERNAL_MOUNT_POINTS_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
@@ -119,7 +120,7 @@ class STORAGE_EXPORT ExternalMountPoints
// Represents each file system instance (defined in the .cc).
class Instance;
- typedef std::map<std::string, Instance*> NameToInstance;
+ typedef std::map<std::string, std::unique_ptr<Instance>> NameToInstance;
// Reverse map from registered path to its corresponding mount name.
typedef std::map<base::FilePath, std::string> PathToName;
« no previous file with comments | « no previous file | storage/browser/fileapi/external_mount_points.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698