| Index: content/browser/download/download_manager_impl.cc
|
| diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
|
| index f924183261b203256a404240459205e18c6becb9..ccfb4cc0a5111a7eb5fcfd0ba87060ded15cf770 100644
|
| --- a/content/browser/download/download_manager_impl.cc
|
| +++ b/content/browser/download/download_manager_impl.cc
|
| @@ -422,6 +422,13 @@ void DownloadManagerImpl::StartDownloadWithId(
|
| delegate_->GenerateFileHash(),
|
| stream.Pass(), download->GetBoundNetLog(),
|
| download->DestinationObserverAsWeakPtr()));
|
| +
|
| + // Attach the client ID identifying the app to the AV system.
|
| + if (download_file.get() && delegate_) {
|
| + download_file->SetClientGuid(
|
| + delegate_->ApplicationClientIdForFileScanning());
|
| + }
|
| +
|
| scoped_ptr<DownloadRequestHandleInterface> req_handle(
|
| new DownloadRequestHandle(info->request_handle));
|
| download->Start(download_file.Pass(), req_handle.Pass());
|
|
|