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

Unified Diff: chrome/browser/sync_file_system/local/syncable_file_operation_runner.h

Issue 1873683002: Convert //chrome/browser/sync_file_system from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
diff --git a/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h b/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
index e54e702e2265b9439967342ebf97a652dc3ccead..9db926413ad5876810f517f7a7a624a714cd4e28 100644
--- a/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
+++ b/chrome/browser/sync_file_system/local/syncable_file_operation_runner.h
@@ -8,11 +8,11 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include <vector>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
@@ -68,7 +68,7 @@ class SyncableFileOperationRunner
// If there're ongoing sync tasks on the target_paths this method
// just queues up the |task|.
// Pending tasks are cancelled when this class is destructed.
- void PostOperationTask(scoped_ptr<Task> task);
+ void PostOperationTask(std::unique_ptr<Task> task);
// Runs a next runnable task (if there's any).
void RunNextRunnableTask();

Powered by Google App Engine
This is Rietveld 408576698