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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_task_manager.h

Issue 2605433002: Remove base::ScopedPtrHashMap from chrome/browser/sync_file_system/drive_backend/ (Closed)
Patch Set: no crash 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: chrome/browser/sync_file_system/drive_backend/sync_task_manager.h
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_manager.h b/chrome/browser/sync_file_system/drive_backend/sync_task_manager.h
index 364383df22fd6eccc7cee3807447e67bfd76c4e8..7531682ea13c93c4fe084541411eb107965f591e 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_task_manager.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_task_manager.h
@@ -10,10 +10,10 @@
#include <memory>
#include <queue>
+#include <unordered_map>
#include <vector>
#include "base/callback.h"
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/sequence_checker.h"
@@ -186,7 +186,7 @@ class SyncTaskManager {
// Owns running backgrounded SyncTask to cancel the task on SyncTaskManager
// deletion.
- base::ScopedPtrHashMap<int64_t, std::unique_ptr<SyncTask>>
+ std::unordered_map<int64_t, std::unique_ptr<SyncTask>>
running_background_tasks_;
size_t maximum_background_task_;

Powered by Google App Engine
This is Rietveld 408576698