| Index: chrome/browser/component_updater/background_downloader_win.h
|
| diff --git a/chrome/browser/component_updater/background_downloader_win.h b/chrome/browser/component_updater/background_downloader_win.h
|
| index 9d11a5d268f67ea271cd382a1a24311b86fad3ea..d1a08f8469b001b2d039a747e24662e98f5e9fb9 100644
|
| --- a/chrome/browser/component_updater/background_downloader_win.h
|
| +++ b/chrome/browser/component_updater/background_downloader_win.h
|
| @@ -36,6 +36,9 @@ class BackgroundDownloader : public CrxDownloader {
|
|
|
| // Called asynchronously on the FILE thread at different stages during
|
| // the download. |OnDownloading| can be called multiple times.
|
| + // |EndDownload| switches the execution flow from the FILE to the UI thread.
|
| + // Accessing any data members of this object on the FILE thread after
|
| + // calling |EndDownload| is unsafe.
|
| void BeginDownload(const GURL& url);
|
| void OnDownloading();
|
| void EndDownload(HRESULT hr);
|
|
|