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

Unified Diff: base/task_scheduler/scheduler_lock_impl.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 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 | « base/task_scheduler/scheduler_lock.h ('k') | base/task_scheduler/scheduler_lock_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/scheduler_lock_impl.h
diff --git a/base/task_scheduler/scheduler_lock_impl.h b/base/task_scheduler/scheduler_lock_impl.h
index 51826fc88a0af20404958388dd2ebb076760fea3..65699bb320503503ff91193cce8dc7543d7dbf56 100644
--- a/base/task_scheduler/scheduler_lock_impl.h
+++ b/base/task_scheduler/scheduler_lock_impl.h
@@ -5,9 +5,10 @@
#ifndef BASE_TASK_SCHEDULER_SCHEDULER_LOCK_IMPL_H
#define BASE_TASK_SCHEDULER_SCHEDULER_LOCK_IMPL_H
+#include <memory>
+
#include "base/base_export.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
namespace base {
@@ -31,7 +32,7 @@ class BASE_EXPORT SchedulerLockImpl {
void AssertAcquired() const;
- scoped_ptr<ConditionVariable> CreateConditionVariable();
+ std::unique_ptr<ConditionVariable> CreateConditionVariable();
private:
Lock lock_;
« no previous file with comments | « base/task_scheduler/scheduler_lock.h ('k') | base/task_scheduler/scheduler_lock_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698