| Index: content/browser/download/base_file_linux.cc
|
| diff --git a/content/browser/download/base_file_linux.cc b/content/browser/download/base_file_linux.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..88e7f7a34208b1c563a77a222eb8dd31b9199e66
|
| --- /dev/null
|
| +++ b/content/browser/download/base_file_linux.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_linux.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| +
|
| +content::DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() {
|
| + DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
|
| + DCHECK(!detached_);
|
| +
|
| + content::AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
|
| + return content::DOWNLOAD_INTERRUPT_REASON_NONE;
|
| +}
|
|
|