Rely more on content length from appcast item than from downloader

The rationale is that the downloader may be giving us an expected length for a block of data rather than the whole
This commit is contained in:
Zorg committed 2016-05-29 14:25:21 -04:00
1 parent f62285ff3b
commit 355d6eddbf
2 files changed
+18 -12

No files matched your search

@@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)downloaderDidSetDestinationName:(NSString *)destinationName temporaryDirectory:(NSString *)temporaryDirectory;
// Under rare cases, this may be called more than once, in which case the current progress should be reset back to 0
- (void)downloaderDidReceiveExpectedContentLength:(int64_t)expectedContentLength;
- (void)downloaderDidReceiveDataOfLength:(NSUInteger)length;