| Index: content/browser/download/base_file_mac.cc
|
| diff --git a/content/browser/download/base_file_mac.cc b/content/browser/download/base_file_mac.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..88ad5f0c530ff96035ba6c5548d04205be61c101
|
| --- /dev/null
|
| +++ b/content/browser/download/base_file_mac.cc
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/browser/download/base_file.h"
|
| +
|
| +#include "content/browser/download/file_metadata_mac.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| +
|
| +void BaseFile::AnnotateWithSourceInformation() {
|
| + DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
|
| + DCHECK(!detached_);
|
| +
|
| + content::AddQuarantineMetadataToFile(full_path_, source_url_, referrer_url_);
|
| + content::AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
|
| +}
|
|
|