This source file includes following definitions.
- AnnotateWithSourceInformation
#include "content/browser/download/base_file.h"
#include "content/browser/download/file_metadata_mac.h"
#include "content/public/browser/browser_thread.h"
namespace content {
DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
DCHECK(!detached_);
AddQuarantineMetadataToFile(full_path_, source_url_, referrer_url_);
AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
return DOWNLOAD_INTERRUPT_REASON_NONE;
}
}