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

Unified Diff: content/browser/service_worker/service_worker_internals_ui.h

Issue 2605923002: Remove base::ScopedPtrHashMap from content/browser/service_worker/. (Closed)
Patch Set: Created 4 years 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: content/browser/service_worker/service_worker_internals_ui.h
diff --git a/content/browser/service_worker/service_worker_internals_ui.h b/content/browser/service_worker/service_worker_internals_ui.h
index f1bed17e6b67ccfe0d27473c524ba72169c505cd..3f67faca3e0ba2fcf3e6222313cda726d9b11423 100644
--- a/content/browser/service_worker/service_worker_internals_ui.h
+++ b/content/browser/service_worker/service_worker_internals_ui.h
@@ -7,8 +7,8 @@
#include <memory>
#include <set>
+#include <unordered_map>
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -66,8 +66,7 @@ class ServiceWorkerInternalsUI
const GURL& scope,
const StatusCallback& callback) const;
- base::ScopedPtrHashMap<uintptr_t, std::unique_ptr<PartitionObserver>>
- observers_;
+ std::unordered_map<uintptr_t, std::unique_ptr<PartitionObserver>> observers_;
int next_partition_id_;
};

Powered by Google App Engine
This is Rietveld 408576698