Lines Matching refs:clientInfo
45 static void didStartCallback(CFURLDownloadRef download, const void* clientInfo);
46 …f download, CFURLRequestRef request, CFURLResponseRef redirectionResponse, const void* clientInfo);
47 …llengeCallback(CFURLDownloadRef download, CFURLAuthChallengeRef challenge, const void* clientInfo);
48 …eiveResponseCallback(CFURLDownloadRef download, CFURLResponseRef response, const void* clientInfo);
49 …CFURLDownloadRef download, CFURLResponseRef response, UInt64 startingByte, const void* clientInfo);
50 …tic void didReceiveDataCallback(CFURLDownloadRef download, CFIndex length, const void* clientInfo);
51 …ataOfMIMETypeCallback(CFURLDownloadRef download, CFStringRef encodingType, const void* clientInfo);
52 …estedObjectNameCallback(CFURLDownloadRef download, CFStringRef objectName, const void* clientInfo);
53 …oid didCreateDestinationCallback(CFURLDownloadRef download, CFURLRef path, const void* clientInfo);
54 static void didFinishCallback(CFURLDownloadRef download, const void* clientInfo);
55 static void didFailCallback(CFURLDownloadRef download, CFErrorRef error, const void* clientInfo);
140 static Download* downloadFromClientInfo(const void* clientInfo) in downloadFromClientInfo() argument
142 return reinterpret_cast<Download*>(const_cast<void*>(clientInfo)); in downloadFromClientInfo()
145 void didStartCallback(CFURLDownloadRef, const void* clientInfo) in didStartCallback() argument
147 downloadFromClientInfo(clientInfo)->didStart(); in didStartCallback()
150 …DownloadRef, CFURLRequestRef request, CFURLResponseRef redirectionResponse, const void* clientInfo) in willSendRequestCallback() argument
157 …icationChallengeCallback(CFURLDownloadRef, CFURLAuthChallengeRef challenge, const void* clientInfo) in didReceiveAuthenticationChallengeCallback() argument
163 void didReceiveResponseCallback(CFURLDownloadRef, CFURLResponseRef response, const void* clientInfo) in didReceiveResponseCallback() argument
165 downloadFromClientInfo(clientInfo)->didReceiveResponse(ResourceResponse(response)); in didReceiveResponseCallback()
168 …eCallback(CFURLDownloadRef, CFURLResponseRef response, UInt64 startingByte, const void* clientInfo) in willResumeWithResponseCallback() argument
174 void didReceiveDataCallback(CFURLDownloadRef, CFIndex length, const void* clientInfo) in didReceiveDataCallback() argument
176 downloadFromClientInfo(clientInfo)->didReceiveData(length); in didReceiveDataCallback()
179 …uldDecodeDataOfMIMETypeCallback(CFURLDownloadRef, CFStringRef encodingType, const void* clientInfo) in shouldDecodeDataOfMIMETypeCallback() argument
181 return downloadFromClientInfo(clientInfo)->shouldDecodeSourceDataOfMIMEType(encodingType); in shouldDecodeDataOfMIMETypeCallback()
184 …onWithSuggestedObjectNameCallback(CFURLDownloadRef, CFStringRef objectName, const void* clientInfo) in decideDestinationWithSuggestedObjectNameCallback() argument
186 Download* download = downloadFromClientInfo(clientInfo); in decideDestinationWithSuggestedObjectNameCallback()
191 void didCreateDestinationCallback(CFURLDownloadRef, CFURLRef, const void* clientInfo) in didCreateDestinationCallback() argument
196 Download* download = downloadFromClientInfo(clientInfo); in didCreateDestinationCallback()
200 void didFinishCallback(CFURLDownloadRef, const void* clientInfo) in didFinishCallback() argument
202 downloadFromClientInfo(clientInfo)->didFinish(); in didFinishCallback()
205 void didFailCallback(CFURLDownloadRef, CFErrorRef error, const void* clientInfo) in didFailCallback() argument
208 downloadFromClientInfo(clientInfo)->didFail(ResourceError(error), dataReference); in didFailCallback()