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

Unified Diff: sync/internal_api/public/attachments/attachment_uploader_impl.h

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/public/attachments/attachment_uploader_impl.h
diff --git a/sync/internal_api/public/attachments/attachment_uploader_impl.h b/sync/internal_api/public/attachments/attachment_uploader_impl.h
index 4f0fa831e1a5ed68ca05a83481e513bfbf2c723d..33d41827f71db0b69982807b4a594f86cfe0bd63 100644
--- a/sync/internal_api/public/attachments/attachment_uploader_impl.h
+++ b/sync/internal_api/public/attachments/attachment_uploader_impl.h
@@ -81,7 +81,8 @@ class SYNC_EXPORT AttachmentUploaderImpl : public AttachmentUploader,
private:
class UploadState;
typedef std::string UniqueId;
- typedef base::ScopedPtrHashMap<UniqueId, scoped_ptr<UploadState>> StateMap;
+ typedef base::ScopedPtrHashMap<UniqueId, std::unique_ptr<UploadState>>
+ StateMap;
void OnUploadStateStopped(const UniqueId& unique_id);

Powered by Google App Engine
This is Rietveld 408576698