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

Unified Diff: google_apis/drive/drive_common_callbacks.h

Issue 1873663002: Convert //google_apis 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: google_apis/drive/drive_common_callbacks.h
diff --git a/google_apis/drive/drive_common_callbacks.h b/google_apis/drive/drive_common_callbacks.h
index 087903333c71370baedf795119a3322dd8096698..e88216857fa129f5f3b93378a71382abaaadd675 100644
--- a/google_apis/drive/drive_common_callbacks.h
+++ b/google_apis/drive/drive_common_callbacks.h
@@ -17,7 +17,7 @@ class AppList;
// Callback used for getting AboutResource.
typedef base::Callback<void(DriveApiErrorCode error,
- scoped_ptr<AboutResource> about_resource)>
+ std::unique_ptr<AboutResource> about_resource)>
AboutResourceCallback;
// Callback used for getting ShareUrl.
@@ -26,7 +26,8 @@ typedef base::Callback<void(DriveApiErrorCode error,
// Callback used for getting AppList.
typedef base::Callback<void(DriveApiErrorCode error,
- scoped_ptr<AppList> app_list)> AppListCallback;
+ std::unique_ptr<AppList> app_list)>
+ AppListCallback;
// Callback used for authorizing an app. |open_url| is used to open the target
// file with the authorized app.

Powered by Google App Engine
This is Rietveld 408576698