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

Unified Diff: content/browser/download/base_file_linux.cc

Issue 11150027: Handle the case where IAttachmentExecute::Save() deletes a downloaded file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Address comments + Update strings Created 8 years, 2 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 | « content/browser/download/base_file.cc ('k') | content/browser/download/base_file_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 07215b0f6ac74346c83f0cea28ce732c35ae3669..ee8d1fa8587e1e599ad48beb1a7e323df240630b 100644
--- a/content/browser/download/base_file_linux.cc
+++ b/content/browser/download/base_file_linux.cc
@@ -9,11 +9,12 @@
namespace content {
-void BaseFile::AnnotateWithSourceInformation() {
+DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
DCHECK(!detached_);
AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
+ return DOWNLOAD_INTERRUPT_REASON_NONE;
}
} // namespace content
« no previous file with comments | « content/browser/download/base_file.cc ('k') | content/browser/download/base_file_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698