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

Unified Diff: chrome/browser/chromeos/fileapi/file_system_backend_delegate.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/fileapi/file_system_backend_delegate.h
diff --git a/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
index 39e151c00344b89af61c6828b78b22f594d4eb1c..333943e5ce76e32ea8ed7300699435ccf8acc3ca 100644
--- a/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
+++ b/chrome/browser/chromeos/fileapi/file_system_backend_delegate.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "storage/browser/fileapi/file_system_backend.h"
#include "storage/common/fileapi/file_system_types.h"
@@ -40,7 +41,7 @@ class FileSystemBackendDelegate {
storage::FileSystemType type) = 0;
// Called from FileSystemBackend::CreateFileStreamReader().
- virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
+ virtual std::unique_ptr<storage::FileStreamReader> CreateFileStreamReader(
const storage::FileSystemURL& url,
int64_t offset,
int64_t max_bytes_to_read,
@@ -48,7 +49,7 @@ class FileSystemBackendDelegate {
storage::FileSystemContext* context) = 0;
// Called from FileSystemBackend::CreateFileStreamWriter().
- virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
+ virtual std::unique_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
const storage::FileSystemURL& url,
int64_t offset,
storage::FileSystemContext* context) = 0;

Powered by Google App Engine
This is Rietveld 408576698