Bug 49211

Summary: Add DownloadProxy object
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch aroben: review+

Description Anders Carlsson 2010-11-08 14:29:08 PST
Add DownloadProxy object
Comment 1 Anders Carlsson 2010-11-08 14:31:15 PST
Created attachment 73287 [details]
Patch
Comment 2 Adam Roben (:aroben) 2010-11-08 14:35:46 PST
Comment on attachment 73287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=73287&action=review

What about WebKit2.pro?

> WebKit2/UIProcess/WebContext.cpp:209
> +    for (HashMap<uint64_t, RefPtr<DownloadProxy> >::const_iterator it = m_downloads.begin(), end = m_downloads.end(); it != end; ++it)
> +        it->second->invalidate();

You could use .begin().values() and .end().values() to iterate over just the DownloadProxies.
Comment 3 Anders Carlsson 2010-11-08 14:40:06 PST
Committed r71574: <http://trac.webkit.org/changeset/71574>