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

Unified Diff: sync/internal_api/attachments/attachment_service_proxy.cc

Issue 1866243002: Convert //sync 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: sync/internal_api/attachments/attachment_service_proxy.cc
diff --git a/sync/internal_api/attachments/attachment_service_proxy.cc b/sync/internal_api/attachments/attachment_service_proxy.cc
index a50f250f8b72ce82041b9c37d24c50a900bed9d5..f72115bd74bcf7b487228a6a825273428944331f 100644
--- a/sync/internal_api/attachments/attachment_service_proxy.cc
+++ b/sync/internal_api/attachments/attachment_service_proxy.cc
@@ -21,7 +21,7 @@ void ProxyGetOrDownloadCallback(
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
const AttachmentService::GetOrDownloadCallback& callback,
const AttachmentService::GetOrDownloadResult& result,
- scoped_ptr<AttachmentMap> attachments) {
+ std::unique_ptr<AttachmentMap> attachments) {
task_runner->PostTask(
FROM_HERE, base::Bind(callback, result, base::Passed(&attachments)));
}

Powered by Google App Engine
This is Rietveld 408576698