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

Unified Diff: chrome/browser/download/download_file.h

Issue 193075: Speculative fix for Mac quarantine crash (Closed)
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/download/download_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_file.h
diff --git a/chrome/browser/download/download_file.h b/chrome/browser/download/download_file.h
index 4d2336b27f3ef9df8ca7cdcf3100d05be4febba9..63fb1e749fc4e68ec67202f9aebcd3a4037af5a0 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_; }
« no previous file with comments | « no previous file | chrome/browser/download/download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698