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

Unified Diff: chrome/browser/chromeos/file_system_provider/throttled_file_system.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/file_system_provider/throttled_file_system.cc
diff --git a/chrome/browser/chromeos/file_system_provider/throttled_file_system.cc b/chrome/browser/chromeos/file_system_provider/throttled_file_system.cc
index d08d34ccc215c85de1928d792aea2c8f1f4de684..b4862359a90a43ea1abd5e1824811f28e63eceac 100644
--- a/chrome/browser/chromeos/file_system_provider/throttled_file_system.cc
+++ b/chrome/browser/chromeos/file_system_provider/throttled_file_system.cc
@@ -17,7 +17,7 @@ namespace chromeos {
namespace file_system_provider {
ThrottledFileSystem::ThrottledFileSystem(
- scoped_ptr<ProvidedFileSystemInterface> file_system)
+ std::unique_ptr<ProvidedFileSystemInterface> file_system)
: file_system_(std::move(file_system)), weak_ptr_factory_(this) {
const int opened_files_limit =
file_system_->GetFileSystemInfo().opened_files_limit();
@@ -192,7 +192,7 @@ void ThrottledFileSystem::Notify(
const base::FilePath& entry_path,
bool recursive,
storage::WatcherManager::ChangeType change_type,
- scoped_ptr<ProvidedFileSystemObserver::Changes> changes,
+ std::unique_ptr<ProvidedFileSystemObserver::Changes> changes,
const std::string& tag,
const storage::AsyncFileUtil::StatusCallback& callback) {
return file_system_->Notify(entry_path, recursive, change_type,

Powered by Google App Engine
This is Rietveld 408576698