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

Unified Diff: sync/internal_api/public/attachments/attachment_downloader_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
« no previous file with comments | « ppapi/proxy/udp_socket_filter.h ('k') | sync/internal_api/public/attachments/attachment_uploader_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/attachments/attachment_downloader_impl.h
diff --git a/sync/internal_api/public/attachments/attachment_downloader_impl.h b/sync/internal_api/public/attachments/attachment_downloader_impl.h
index 83bb77eeb751f198d5480257e000ad1458f9d014..a4db5c62b2680356b37a64ba97a8a1a94ca7ed88 100644
--- a/sync/internal_api/public/attachments/attachment_downloader_impl.h
+++ b/sync/internal_api/public/attachments/attachment_downloader_impl.h
@@ -79,7 +79,8 @@ class AttachmentDownloaderImpl : public AttachmentDownloader,
struct DownloadState;
typedef std::string AttachmentUrl;
- typedef base::ScopedPtrHashMap<AttachmentUrl, DownloadState> StateMap;
+ typedef base::ScopedPtrHashMap<AttachmentUrl, scoped_ptr<DownloadState>>
+ StateMap;
typedef std::vector<DownloadState*> StateList;
scoped_ptr<net::URLFetcher> CreateFetcher(const AttachmentUrl& url,
« no previous file with comments | « ppapi/proxy/udp_socket_filter.h ('k') | sync/internal_api/public/attachments/attachment_uploader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698