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

Unified Diff: chrome/browser/sync_file_system/task_logger.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/task_logger.h
diff --git a/chrome/browser/sync_file_system/task_logger.h b/chrome/browser/sync_file_system/task_logger.h
index 1021c3aac64f77a4a4101ac0d1e9207936fccfb8..3197ca71663a4aa1e337bc5d4bfef05ab9e0f443 100644
--- a/chrome/browser/sync_file_system/task_logger.h
+++ b/chrome/browser/sync_file_system/task_logger.h
@@ -6,11 +6,11 @@
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_TASK_LOGGER_H_
#include <deque>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
@@ -48,7 +48,7 @@ class TaskLogger : public base::SupportsWeakPtr<TaskLogger> {
TaskLogger();
~TaskLogger();
- void RecordLog(scoped_ptr<TaskLog> log);
+ void RecordLog(std::unique_ptr<TaskLog> log);
void ClearLog();
void AddObserver(Observer* observer);
« no previous file with comments | « chrome/browser/sync_file_system/sync_process_runner_unittest.cc ('k') | chrome/browser/sync_file_system/task_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698