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

Unified Diff: chrome/browser/chromeos/drive/download_handler.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/download_handler.cc
diff --git a/chrome/browser/chromeos/drive/download_handler.cc b/chrome/browser/chromeos/drive/download_handler.cc
index 551e4af6e5b7d1f9ecf5fad517d2161e3ca0f077..2dccc9bccbb84686534ff5e612cad11855ff9fe3 100644
--- a/chrome/browser/chromeos/drive/download_handler.cc
+++ b/chrome/browser/chromeos/drive/download_handler.cc
@@ -104,7 +104,7 @@ void MoveDownloadedFile(const base::FilePath& downloaded_file,
void ContinueCheckingForFileExistence(
const content::CheckForFileExistenceCallback& callback,
FileError error,
- scoped_ptr<ResourceEntry> entry) {
+ std::unique_ptr<ResourceEntry> entry) {
callback.Run(error == FILE_ERROR_OK);
}
« no previous file with comments | « chrome/browser/chromeos/drive/download_handler.h ('k') | chrome/browser/chromeos/drive/download_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698