Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: chrome/common/quarantine_mac.h

Issue 220037: Add kMDItemWhereFroms metadata attribute to downloaded files. Combine with qu... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/quarantine_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_QUARANTINE_MAC_H_
6 #define CHROME_COMMON_QUARANTINE_MAC_H_
7
8 class FilePath;
9 class GURL;
10
11 namespace quarantine_mac {
12
13 // Adds quarantine metadata to the file, assuming it has already been
14 // quarantined by the OS.
15 // |source| should be the source URL for the download, and |referrer| should be
16 // the URL the user initiated the download from.
17 void AddQuarantineMetadataToFile(const FilePath& file, const GURL& source,
18 const GURL& referrer);
19
20 } // namespace quarantine_mac
21
22 #endif // CHROME_COMMON_QUARANTINE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/quarantine_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698