| 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..7f8b71747992bcf9c463eb3b8c090bddd3503b26
|
| --- /dev/null
|
| +++ b/content/browser/download/base_file_linux.cc
|
| @@ -0,0 +1,15 @@
|
| +// 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"
|
| +
|
| +void BaseFile::AnnotateWithSourceInformation() {
|
| + DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
|
| + DCHECK(!detached_);
|
| +
|
| + content::AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
|
| +}
|
|
|