|
Remove uses of base::hash_map from //chrome
In cases where it seemed like there might be a high query volume or I had no way of knowing, it is replaced with a std::unordered_map (which base::hash_map is a typedef for already).
In cases where I understood the workload and it was appropriate, base::flat_map is used. In a few places that were create-once-then-read-only, the flat_map optimized construction from a vector is used.
In all other cases, std::map is used.
Review-Url: https://codereview.chromium.org/2829163004
Cr-Commit-Position: refs/heads/master@{#483431}
Committed: https://chromium.googlesource.com/chromium/src/+/84cff3faf4bd3ae60fcb70b0e2c526c08709be5e
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+238 lines, -207 lines) |
Patch |
|
M |
chrome/browser/android/compositor/tab_content_manager.h
|
View
|
1
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/data_usage/data_use_tab_model.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/data_usage/data_use_ui_tab_model.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/data_usage/external_data_use_reporter.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/history_report/data_provider.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/android/thumbnail/thumbnail_cache.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/users/chrome_user_manager_impl.h
|
View
|
1
2
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/wizard_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/net/network_portal_detector_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/net/network_portal_detector_test_impl.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/settings/cros_settings.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/command_updater.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/data_use_measurement/chrome_data_use_ascriber.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+4 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/download/chrome_download_manager_delegate.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/engagement/important_sites_util.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/downloads/downloads_api.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+60 lines, -39 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/font_family_cache.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/font_family_cache.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/discovery/dial/dial_registry.h
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media_galleries/fileapi/media_path_filter.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/predictor_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/pdf/pdf_extension_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources_util.cc
|
View
|
1
2
3
|
2 chunks |
+22 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/local_database_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/protocol_manager.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/safe_browsing/threat_details_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/site_details.h
|
View
|
1
2
3
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
|
View
|
1
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/drive_backend/sync_worker.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync_file_system/subtree_set.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/extensions/automation_internal_custom_bindings.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/safe_browsing/features.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/safe_browsing/phishing_classifier.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+7 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/safe_browsing/scorer.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/tts_dispatcher.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/tts_dispatcher.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
ui/base/ime/chromeos/input_method_util.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/base/ime/chromeos/input_method_util.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
Total messages: 47 (32 generated)
|