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

Unified Diff: chrome/browser/chromeos/file_manager/fileapi_util.h

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/file_manager/fileapi_util.h
diff --git a/chrome/browser/chromeos/file_manager/fileapi_util.h b/chrome/browser/chromeos/file_manager/fileapi_util.h
index 891ba28a32295a0bd1a98a898ece8f1426eb15a8..4d70e16ec530c3c0088a35b2c8ca79ec7561680c 100644
--- a/chrome/browser/chromeos/file_manager/fileapi_util.h
+++ b/chrome/browser/chromeos/file_manager/fileapi_util.h
@@ -7,12 +7,12 @@
#ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
#include "storage/browser/fileapi/file_system_operation_runner.h"
#include "url/gurl.h"
@@ -68,8 +68,9 @@ typedef base::Callback<void(const EntryDefinition& entry_definition)>
// The callback used by ConvertFileDefinitionListToEntryDefinitionList. Returns
// the result of the conversion as a list.
-typedef base::Callback<void(scoped_ptr<
- EntryDefinitionList> entry_definition_list)> EntryDefinitionListCallback;
+typedef base::Callback<void(
+ std::unique_ptr<EntryDefinitionList> entry_definition_list)>
+ EntryDefinitionListCallback;
// The callback used by
// ConvertFileSelectedInfoListToFileChooserFileInfoList. Returns the result of
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_watcher_unittest.cc ('k') | chrome/browser/chromeos/file_manager/fileapi_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698