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

Unified Diff: chrome/browser/media/router/discovery/dial/dial_registry.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/router/discovery/dial/dial_registry.h
diff --git a/chrome/browser/media/router/discovery/dial/dial_registry.h b/chrome/browser/media/router/discovery/dial/dial_registry.h
index f981fbb2c1c1989e7b319b196b06b8bef56c7952..1091e189be2e7e41755c9c99c31d9ec5f4da7140 100644
--- a/chrome/browser/media/router/discovery/dial/dial_registry.h
+++ b/chrome/browser/media/router/discovery/dial/dial_registry.h
@@ -12,7 +12,6 @@
#include <string>
#include <vector>
-#include "base/containers/hash_tables.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/singleton.h"
@@ -100,8 +99,7 @@ class DialRegistry : public DialService::Observer,
std::unique_ptr<DialService> dial_;
private:
- using DeviceByIdMap =
- base::hash_map<std::string, std::unique_ptr<DialDeviceData>>;
+ using DeviceByIdMap = std::map<std::string, std::unique_ptr<DialDeviceData>>;
using DeviceByLabelMap = std::map<std::string, DialDeviceData*>;
friend class MockDialRegistry;

Powered by Google App Engine
This is Rietveld 408576698