diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 15:40:45 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 15:40:45 +0000 |
commit | 56f762c6574feac5c7bc6fb3f7c80ca140c73566 (patch) | |
tree | 9bb34b2f89605a042943a5c4a3fe9cf21aaa6da3 /content/browser/file_metadata_mac.h | |
parent | c1a547a74766412c821a757c624187d7f4223a79 (diff) | |
download | chromium_src-56f762c6574feac5c7bc6fb3f7c80ca140c73566.zip chromium_src-56f762c6574feac5c7bc6fb3f7c80ca140c73566.tar.gz chromium_src-56f762c6574feac5c7bc6fb3f7c80ca140c73566.tar.bz2 |
Move dependencies of download\base_file from chrome to content. These are all trivial file moves.
BUG=82782
Review URL: http://codereview.chromium.org/7388002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/file_metadata_mac.h')
-rw-r--r-- | content/browser/file_metadata_mac.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/content/browser/file_metadata_mac.h b/content/browser/file_metadata_mac.h new file mode 100644 index 0000000..d33c25f --- /dev/null +++ b/content/browser/file_metadata_mac.h @@ -0,0 +1,29 @@ +// Copyright (c) 2011 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. + +#ifndef CONTENT_BROWSER_FILE_METADATA_MAC_H_ +#define CONTENT_BROWSER_FILE_METADATA_MAC_H_ +#pragma once + +class FilePath; +class GURL; + +namespace file_metadata { + +// Adds origin metadata to the file. +// |source| should be the source URL for the download, and |referrer| should be +// the URL the user initiated the download from. +void AddOriginMetadataToFile(const FilePath& file, const GURL& source, + const GURL& referrer); + +// Adds quarantine metadata to the file, assuming it has already been +// quarantined by the OS. +// |source| should be the source URL for the download, and |referrer| should be +// the URL the user initiated the download from. +void AddQuarantineMetadataToFile(const FilePath& file, const GURL& source, + const GURL& referrer); + +} // namespace file_metadata + +#endif // CONTENT_BROWSER_FILE_METADATA_MAC_H_ |