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

Unified Diff: chrome/browser/chromeos/net/network_portal_detector_test_impl.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/chromeos/net/network_portal_detector_test_impl.h
diff --git a/chrome/browser/chromeos/net/network_portal_detector_test_impl.h b/chrome/browser/chromeos/net/network_portal_detector_test_impl.h
index 91fef887781ebdd5d0fc357401d6e6ea885ef036..8701d5d4bd0065f4d8320320087f14ce54a4793c 100644
--- a/chrome/browser/chromeos/net/network_portal_detector_test_impl.h
+++ b/chrome/browser/chromeos/net/network_portal_detector_test_impl.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_TEST_IMPL_H_
#define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_TEST_IMPL_H_
+#include <map>
#include <memory>
#include <string>
#include "base/compiler_specific.h"
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/observer_list.h"
#include "chromeos/network/portal_detector/network_portal_detector.h"
@@ -44,8 +44,8 @@ class NetworkPortalDetectorTestImpl : public NetworkPortalDetector {
}
private:
- typedef std::string NetworkId;
- typedef base::hash_map<NetworkId, CaptivePortalState> CaptivePortalStateMap;
+ using NetworkId = std::string;
+ using CaptivePortalStateMap = std::map<NetworkId, CaptivePortalState>;
base::ObserverList<Observer> observers_;
std::unique_ptr<NetworkState> default_network_;
« no previous file with comments | « chrome/browser/chromeos/net/network_portal_detector_impl.h ('k') | chrome/browser/chromeos/settings/cros_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698