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

Unified Diff: chrome/browser/media_galleries/fileapi/media_path_filter.h

Issue 2829163004: Remove uses of base::hash_map from //chrome (Closed)
Patch Set: Downloads back Created 3 years, 6 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/media_galleries/fileapi/media_path_filter.h
diff --git a/chrome/browser/media_galleries/fileapi/media_path_filter.h b/chrome/browser/media_galleries/fileapi/media_path_filter.h
index 6e9fe5b3a3f255c443b096341a3dbccc377353a8..ce876050956366b352f8e82d6049860246ccdda9 100644
--- a/chrome/browser/media_galleries/fileapi/media_path_filter.h
+++ b/chrome/browser/media_galleries/fileapi/media_path_filter.h
@@ -7,10 +7,10 @@
#include <stddef.h>
+#include <map>
#include <string>
#include <vector>
-#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/sequence_checker.h"
@@ -45,7 +45,7 @@ class MediaPathFilter {
// Key: .extension
// Value: MediaGalleryFileType, but stored as an int to allow "|="
- typedef base::hash_map<base::FilePath::StringType, int> MediaFileExtensionMap;
+ using MediaFileExtensionMap = std::map<base::FilePath::StringType, int>;
void EnsureInitialized();

Powered by Google App Engine
This is Rietveld 408576698