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

Unified Diff: chrome/browser/chromeos/drive/file_task_executor.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/chromeos/drive/file_task_executor.cc
diff --git a/chrome/browser/chromeos/drive/file_task_executor.cc b/chrome/browser/chromeos/drive/file_task_executor.cc
index e109011e9d4c8761de62b176231fac774ded45fa..e07cd4b78404301f25c30ca24e2c93ad53ac54f1 100644
--- a/chrome/browser/chromeos/drive/file_task_executor.cc
+++ b/chrome/browser/chromeos/drive/file_task_executor.cc
@@ -67,7 +67,7 @@ FileTaskExecutor::FileTaskExecutor(Profile* profile, const std::string& app_id)
}
FileTaskExecutor::FileTaskExecutor(
- scoped_ptr<FileTaskExecutorDelegate> delegate,
+ std::unique_ptr<FileTaskExecutorDelegate> delegate,
const std::string& app_id)
: delegate_(std::move(delegate)),
app_id_(app_id),
@@ -112,8 +112,9 @@ void FileTaskExecutor::Execute(
}
}
-void FileTaskExecutor::OnFileEntryFetched(FileError error,
- scoped_ptr<ResourceEntry> entry) {
+void FileTaskExecutor::OnFileEntryFetched(
+ FileError error,
+ std::unique_ptr<ResourceEntry> entry) {
// Here, we are only interested in files.
if (entry.get() && !entry->has_file_specific_info())
error = FILE_ERROR_NOT_FOUND;
« no previous file with comments | « chrome/browser/chromeos/drive/file_task_executor.h ('k') | chrome/browser/chromeos/drive/file_task_executor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698