CB-2190 Make backgroundTaskId apply to downloads as well. Move backgroundTaskId to the delegate.

This commit is contained in:
Jan Pittner
2014-02-18 20:44:48 +01:00
committed by Andrew Grieve
parent a1d6fc07e8
commit a588236cbd
2 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -53,7 +53,6 @@ extern NSString* const kOptionsKeyCookie;
AndHttpStatus:(int)httpStatus
AndBody:(NSString*)body;
@property (readonly) NSMutableDictionary* activeTransfers;
@property (nonatomic, assign) UIBackgroundTaskIdentifier backgroundTaskID;
@end
@class CDVFileTransferEntityLengthRequest;
@@ -65,6 +64,7 @@ extern NSString* const kOptionsKeyCookie;
@property (strong) NSMutableData* responseData; // atomic
@property (nonatomic, strong) NSDictionary* responseHeaders;
@property (nonatomic, assign) UIBackgroundTaskIdentifier backgroundTaskID;
@property (nonatomic, strong) CDVFileTransfer* command;
@property (nonatomic, assign) CDVFileTransferDirection direction;
@property (nonatomic, strong) NSURLConnection* connection;