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

Unified Diff: components/drive/job_scheduler.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: Rebase 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: components/drive/job_scheduler.h
diff --git a/components/drive/job_scheduler.h b/components/drive/job_scheduler.h
index 35f26b4b0fc0f35ec435b811f3d29c3a2defe967..c2e8bd3d5381228c1ea215e3f13fc0d358f2d182 100644
--- a/components/drive/job_scheduler.h
+++ b/components/drive/job_scheduler.h
@@ -382,7 +382,7 @@ class JobScheduler
std::unique_ptr<JobQueue> queue_[NUM_QUEUES];
// The list of queued job info indexed by job IDs.
- typedef IDMap<JobEntry, IDMapOwnPointer> JobIDMap;
+ typedef IDMap<std::unique_ptr<JobEntry>> JobIDMap;
danakj 2016/11/30 23:02:21 s/typedef/using/ while you're here?
JobIDMap job_map_;
// The list of observers for the scheduler.

Powered by Google App Engine
This is Rietveld 408576698