summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_file.h
diff options
context:
space:
mode:
authorstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 19:56:17 +0000
committerstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 19:56:17 +0000
commitdf72c098109fd2c695593bbd791a2b14a4836796 (patch)
tree9842d85a8604dee9c2b713e3ee703dc3f565ebf0 /chrome/browser/download/download_file.h
parenteaad22ec3fe7438aeb921b316aae094253b5a764 (diff)
downloadchromium_src-df72c098109fd2c695593bbd791a2b14a4836796.zip
chromium_src-df72c098109fd2c695593bbd791a2b14a4836796.tar.gz
chromium_src-df72c098109fd2c695593bbd791a2b14a4836796.tar.bz2
Speculative fix for Mac quarantine crash
BUG=13120 TEST=Quaraniting should continue to work on the Mac, and zone information should still be set on Windows. Review URL: http://codereview.chromium.org/193075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_file.h')
-rw-r--r--chrome/browser/download/download_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/download/download_file.h b/chrome/browser/download/download_file.h
index 4d2336b..63fb1e7 100644
--- a/chrome/browser/download/download_file.h
+++ b/chrome/browser/download/download_file.h
@@ -99,6 +99,9 @@ class DownloadFile {
// Rename the download file. Returns 'true' if the rename was successful.
bool Rename(const FilePath& full_path);
+ // Informs the OS that this file came from the internet.
+ void AnnotateWithSourceInformation();
+
// Accessors.
int64 bytes_so_far() const { return bytes_so_far_; }
int id() const { return id_; }