Lines Matching refs:m_delegate
75 m_delegate = delegate ? delegate : DefaultDownloadDelegate::sharedInstance();
106 m_delegate = delegate ? delegate : DefaultDownloadDelegate::sharedInstance();
107 LOG_ERROR("Delegate is %p", m_delegate.get());
138 m_delegate = delegate;
139 LOG(Download, "Delegate is %p", m_delegate.get());
176 m_delegate = delegate;
177 LOG(Download, "Delegate is %p", m_delegate.get());
314 m_delegate->didFailWithError(this, webError.get());
358 if (FAILED(m_delegate->didBegin(this)))
368 if (FAILED(m_delegate->willSendRequest(this, webRequest.get(), webResponse.get(), &finalRequest)))
396 if (SUCCEEDED(m_delegate->didReceiveAuthenticationChallenge(this, webChallenge.get())))
405 if (FAILED(m_delegate->didReceiveResponse(this, webResponse.get())))
412 if (FAILED(m_delegate->willResumeWithResponse(this, webResponse.get(), fromByte)))
425 if (FAILED(m_delegate->didReceiveDataOfLength(this, length)))
432 if (FAILED(m_delegate->shouldDecodeSourceDataOfMIMEType(this, BString(mimeType), &result))) {
441 if (FAILED(m_delegate->decideDestinationWithSuggestedFilename(this, BString(name))))
460 if (FAILED(m_delegate->didCreateDestination(this, path)))
481 if (FAILED(m_delegate->decideDestinationWithSuggestedFilename(this, destinationBSTR)))
484 // The call to m_delegate->decideDestinationWithSuggestedFilename() should have changed our destination, so we'll try the move
493 m_delegate->didCreateDestination(this, bundleBSTR);
496 m_delegate->didCreateDestination(this, finalDestinationBSTR);
502 if (FAILED(m_delegate->didFinish(this)))
511 if (FAILED(m_delegate->didFailWithError(this, webError.get())))