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

Unified Diff: chrome/renderer/extensions/automation_internal_custom_bindings.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
« no previous file with comments | « chrome/browser/sync_file_system/subtree_set.h ('k') | chrome/renderer/safe_browsing/features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/automation_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
index 78fb66e56251080886ca4965e06b46bdd01b9350..f33db545c77b80659a44b8e1f8ae465704819373 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -5,6 +5,9 @@
#ifndef CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
#define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
+#include <map>
+#include <vector>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "chrome/common/extensions/api/automation.h"
@@ -178,8 +181,8 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
void SendChildTreeIDEvent(ui::AXTree* tree, ui::AXNode* node);
void SendNodesRemovedEvent(ui::AXTree* tree, const std::vector<int>& ids);
- base::hash_map<int, TreeCache*> tree_id_to_tree_cache_map_;
- base::hash_map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_;
+ std::map<int, TreeCache*> tree_id_to_tree_cache_map_;
+ std::map<ui::AXTree*, TreeCache*> axtree_to_tree_cache_map_;
scoped_refptr<AutomationMessageFilter> message_filter_;
bool is_active_profile_;
std::vector<TreeChangeObserver> tree_change_observers_;
« no previous file with comments | « chrome/browser/sync_file_system/subtree_set.h ('k') | chrome/renderer/safe_browsing/features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698