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

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

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 1f85bc6ff83ad0e66d7c901a7ca2b23a98c451fb..6bb511f2f0711076f766bb19a65118986fd81825 100644
--- a/sync/internal_api/public/attachments/attachment_uploader_impl.h
+++ b/sync/internal_api/public/attachments/attachment_uploader_impl.h
@@ -77,7 +77,7 @@ class SYNC_EXPORT AttachmentUploaderImpl : public AttachmentUploader,
private:
class UploadState;
typedef std::string UniqueId;
- typedef base::ScopedPtrHashMap<UniqueId, UploadState> StateMap;
+ typedef base::ScopedPtrHashMap<UniqueId, scoped_ptr<UploadState>> StateMap;
void OnUploadStateStopped(const UniqueId& unique_id);

Powered by Google App Engine
This is Rietveld 408576698