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

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

Issue 2508503002: Fix an issue that temp files are left permanently on storage after chrome crash (Closed)
Patch Set: rebase Created 4 years, 1 month 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_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_history.h
diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h
index 6b763d9a1686f88ee0ad3c427d5ebbf043a70482..21c8180356f93833a123382ca4fe925f3dc8e023 100644
--- a/chrome/browser/download/download_history.h
+++ b/chrome/browser/download/download_history.h
@@ -42,7 +42,8 @@ class DownloadHistory : public AllDownloadItemNotifier::Observer {
const history::DownloadRow& info,
const history::HistoryService::DownloadCreateCallback& callback);
- virtual void UpdateDownload(const history::DownloadRow& data);
+ virtual void UpdateDownload(const history::DownloadRow& data,
+ bool should_commit_immediately);
virtual void RemoveDownloads(const std::set<uint32_t>& ids);
« no previous file with comments | « no previous file | chrome/browser/download/download_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698