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

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: 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
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 23ac9a775dfa35fc772831250dc8a0e9d0c62127..6959994ab1ae814988b99a55bda09e7a17a89aaf 100644
--- a/components/history/core/browser/history_backend.h
+++ b/components/history/core/browser/history_backend.h
@@ -334,7 +334,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);
« no previous file with comments | « chrome/browser/download/download_history_unittest.cc ('k') | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698