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

Unified Diff: components/history/core/browser/history_backend.h

Issue 2508503002: Fix an issue that temp files are left permanently on storage after chrome crash (Closed)
Patch Set: 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
Index: components/history/core/browser/history_backend.h
diff --git a/components/history/core/browser/history_backend.h b/components/history/core/browser/history_backend.h
index 130d9b7b614085893230f11d58d2106102820da7..39fb916cde16e6a2e844ea3468cac41db5aaa3d6 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -337,7 +337,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
uint32_t GetNextDownloadId();
void QueryDownloads(std::vector<DownloadRow>* rows);
- void UpdateDownload(const DownloadRow& data);
+ void UpdateDownload(const DownloadRow& data, bool should_commit_immediately);
bool CreateDownload(const DownloadRow& history_info);
void RemoveDownloads(const std::set<uint32_t>& ids);

Powered by Google App Engine
This is Rietveld 408576698