class DownloadManager

Defined at line 23 of file ../../src/developer/debug/zxdb/client/download_manager.h

This class manages all downloads that are requested when they are not found locally.

Public Methods

bool DownloadsInProgress ()

Defined at line 46 of file ../../src/developer/debug/zxdb/client/download_manager.h

void DownloadManager (System * system)

============================ DownloadManager ===============================

Defined at line 188 of file ../../src/developer/debug/zxdb/client/download_manager.cc

void ~DownloadManager ()

Defined at line 192 of file ../../src/developer/debug/zxdb/client/download_manager.cc

void RequestDownload (const std::string & build_id, DebugSymbolFileType file_type)

Requests to download |build_id| from any remote source, the first returning a valid symbol file

with a matching build id will be loaded. |file_type| determines whether the file should be a

binary with symbols or a separate file with a ".debug" suffix with just debug info and no

binary information.

Defined at line 194 of file ../../src/developer/debug/zxdb/client/download_manager.cc

bool HasDownload (const std::string & build_id)

Defined at line 350 of file ../../src/developer/debug/zxdb/client/download_manager.cc

void DidCreateSymbolServer (SymbolServer * server)

SystemObserver implementation.

Defined at line 198 of file ../../src/developer/debug/zxdb/client/download_manager.cc

void OnSymbolServerStatusChanged (SymbolServer * server)

Defined at line 202 of file ../../src/developer/debug/zxdb/client/download_manager.cc

Download * InjectDownloadForTesting (const std::string & build_id)

Get a test download object.

Defined at line 241 of file ../../src/developer/debug/zxdb/client/download_manager.cc

void AbandonTestingDownload (const std::string & build_id)

Abandons a download injected with |InjectDownloadForTesting|.

Defined at line 245 of file ../../src/developer/debug/zxdb/client/download_manager.cc