webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebKit::Download Class Reference

#include <Download.h>

Inheritance diagram for WebKit::Download:
IPC::MessageSender

Public Member Functions

 Download (DownloadManager &, DownloadID, const WebCore::ResourceRequest &, const String &suggestedFilename={ })
 
 ~Download ()
 
void setBlobFileReferences (Vector< RefPtr< WebCore::BlobDataFileReference >> &&fileReferences)
 
void start ()
 
void startWithHandle (WebCore::ResourceHandle *, const WebCore::ResourceResponse &)
 
void resume (const IPC::DataReference &resumeData, const String &path, const SandboxExtension::Handle &)
 
void cancel ()
 
DownloadID downloadID () const
 
const StringsuggestedName () const
 
const WebCore::ResourceRequestrequest () const
 
void didReceiveAuthenticationChallenge (const WebCore::AuthenticationChallenge &)
 
void didStart ()
 
void didReceiveResponse (const WebCore::ResourceResponse &)
 
bool shouldDecodeSourceDataOfMIMEType (const String &mimeType)
 
String decideDestinationWithSuggestedFilename (const String &filename, bool &allowOverwrite)
 
void decideDestinationWithSuggestedFilenameAsync (const String &)
 
void didDecideDownloadDestination (const String &destinationPath, const SandboxExtension::Handle &, bool allowOverwrite)
 
void continueDidReceiveResponse ()
 
void platformDidFinish ()
 
void didCreateDestination (const String &path)
 
void didReceiveData (uint64_t length)
 
void didFinish ()
 
void didFail (const WebCore::ResourceError &, const IPC::DataReference &resumeData)
 
void didCancel (const IPC::DataReference &resumeData)
 
- Public Member Functions inherited from IPC::MessageSender
virtual ~MessageSender ()
 
template<typename U >
bool send (const U &message)
 
template<typename U >
bool send (const U &message, uint64_t destinationID, OptionSet< SendOption > sendOptions={ })
 
template<typename T >
bool sendSync (T &&message, typename T::Reply &&reply, Seconds timeout=Seconds::infinity(), OptionSet< SendSyncOption > sendSyncOptions={ })
 
template<typename T >
bool sendSync (T &&message, typename T::Reply &&reply, uint64_t destinationID, Seconds timeout=Seconds::infinity(), OptionSet< SendSyncOption > sendSyncOptions={ })
 
virtual bool sendMessage (std::unique_ptr< Encoder >, OptionSet< SendOption >)
 

Constructor & Destructor Documentation

◆ Download()

WebKit::Download::Download ( DownloadManager downloadManager,
DownloadID  downloadID,
const WebCore::ResourceRequest request,
const String suggestedFilename = { } 
)

◆ ~Download()

WebKit::Download::~Download ( )

Member Function Documentation

◆ cancel()

void WebKit::Download::cancel ( )

◆ continueDidReceiveResponse()

void WebKit::Download::continueDidReceiveResponse ( )

◆ decideDestinationWithSuggestedFilename()

String WebKit::Download::decideDestinationWithSuggestedFilename ( const String filename,
bool &  allowOverwrite 
)

◆ decideDestinationWithSuggestedFilenameAsync()

void WebKit::Download::decideDestinationWithSuggestedFilenameAsync ( const String suggestedFilename)

◆ didCancel()

void WebKit::Download::didCancel ( const IPC::DataReference resumeData)

◆ didCreateDestination()

void WebKit::Download::didCreateDestination ( const String path)

◆ didDecideDownloadDestination()

void WebKit::Download::didDecideDownloadDestination ( const String destinationPath,
const SandboxExtension::Handle sandboxExtensionHandle,
bool  allowOverwrite 
)

◆ didFail()

void WebKit::Download::didFail ( const WebCore::ResourceError error,
const IPC::DataReference resumeData 
)

◆ didFinish()

void WebKit::Download::didFinish ( )

◆ didReceiveAuthenticationChallenge()

void WebKit::Download::didReceiveAuthenticationChallenge ( const WebCore::AuthenticationChallenge authenticationChallenge)

◆ didReceiveData()

void WebKit::Download::didReceiveData ( uint64_t  length)

◆ didReceiveResponse()

void WebKit::Download::didReceiveResponse ( const WebCore::ResourceResponse response)

◆ didStart()

void WebKit::Download::didStart ( )

◆ downloadID()

DownloadID WebKit::Download::downloadID ( ) const
inline

◆ platformDidFinish()

void WebKit::Download::platformDidFinish ( )

◆ request()

const WebCore::ResourceRequest& WebKit::Download::request ( ) const
inline

◆ resume()

void WebKit::Download::resume ( const IPC::DataReference resumeData,
const String path,
const SandboxExtension::Handle sandboxExtensionHandle 
)

◆ setBlobFileReferences()

void WebKit::Download::setBlobFileReferences ( Vector< RefPtr< WebCore::BlobDataFileReference >> &&  fileReferences)
inline

◆ shouldDecodeSourceDataOfMIMEType()

bool WebKit::Download::shouldDecodeSourceDataOfMIMEType ( const String mimeType)

◆ start()

void WebKit::Download::start ( )

◆ startWithHandle()

void WebKit::Download::startWithHandle ( WebCore::ResourceHandle handle,
const WebCore::ResourceResponse response 
)

◆ suggestedName()

const String& WebKit::Download::suggestedName ( ) const
inline

The documentation for this class was generated from the following files: