forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instantiate AttachmentDownloader and use it in AttachmentServiceImpl
GetOrDownloadAttachments creates state object that tracks set of attachments for which requests are still pending. Once AttachmentStore::Read finishes AttachmentServiceImpl calls AttachmentDownloader to download attachments that were not found locally. Once all calls to Downloader finish consumer callback is called with results. I used AttachmentIdSet in this code but didn't update AttachmentIdList to AttachmentIdSet in other places. I'd rather do it in separate change. R=maniscalco@chromium.org BUG=376073 Review URL: https://codereview.chromium.org/307783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274164 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
pavely@chromium.org
committed
Jun 2, 2014
1 parent
ab0b115
commit ef72c18
Showing
7 changed files
with
412 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.