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

Unified Diff: chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h

Issue 1873683002: Convert //chrome/browser/sync_file_system from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/sync_file_system/drive_backend/fake_drive_service_helper.h
diff --git a/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h b/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
index fa0a2e2bb07fa6b8c5700e5ab4bb219afea8586f..4c75c7b36550cd73207557c7dfc0c0845204fe09 100644
--- a/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
+++ b/chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.h
@@ -68,7 +68,7 @@ class FakeDriveServiceHelper {
google_apis::DriveApiErrorCode GetFileResource(
const std::string& file_id,
- scoped_ptr<google_apis::FileResource>* entry);
+ std::unique_ptr<google_apis::FileResource>* entry);
google_apis::DriveApiErrorCode GetFileVisibility(
const std::string& file_id,
google_apis::drive::FileVisibility* visiblity);
@@ -76,13 +76,13 @@ class FakeDriveServiceHelper {
const std::string& file_id,
std::string* file_content);
google_apis::DriveApiErrorCode GetAboutResource(
- scoped_ptr<google_apis::AboutResource>* about_resource);
+ std::unique_ptr<google_apis::AboutResource>* about_resource);
base::FilePath base_dir_path() { return base_dir_.path(); }
private:
google_apis::DriveApiErrorCode CompleteListing(
- scoped_ptr<google_apis::FileList> list,
+ std::unique_ptr<google_apis::FileList> list,
ScopedVector<google_apis::FileResource>* entries);
void Initialize();

Powered by Google App Engine
This is Rietveld 408576698