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

Unified Diff: chrome/browser/chromeos/settings/cros_settings.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/chromeos/net/network_portal_detector_test_impl.h ('k') | chrome/browser/command_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/settings/cros_settings.h
diff --git a/chrome/browser/chromeos/settings/cros_settings.h b/chrome/browser/chromeos/settings/cros_settings.h
index 77d5c1dae2d5fb70f9c5d0075fe065786ba1e793..519a80414721640354a2bca6784a9b677f82a835 100644
--- a/chrome/browser/chromeos/settings/cros_settings.h
+++ b/chrome/browser/chromeos/settings/cros_settings.h
@@ -5,13 +5,13 @@
#ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_CROS_SETTINGS_H_
#define CHROME_BROWSER_CHROMEOS_SETTINGS_CROS_SETTINGS_H_
+#include <map>
#include <memory>
#include <string>
#include <vector>
#include "base/callback_forward.h"
#include "base/callback_list.h"
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/sequence_checker.h"
#include "chromeos/settings/cros_settings_names.h"
@@ -131,7 +131,7 @@ class CrosSettings {
// A map from settings names to a list of observers. Observers get fired in
// the order they are added.
- base::hash_map<std::string, std::unique_ptr<base::CallbackList<void(void)>>>
+ std::map<std::string, std::unique_ptr<base::CallbackList<void(void)>>>
settings_observers_;
SEQUENCE_CHECKER(sequence_checker_);
« no previous file with comments | « chrome/browser/chromeos/net/network_portal_detector_test_impl.h ('k') | chrome/browser/command_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698