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

Unified Diff: chrome/browser/upload_list.cc

Issue 23020015: In chrome://crashes, re-read the crash list on page reload (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 | « chrome/browser/ui/webui/crashes_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/upload_list.cc
diff --git a/chrome/browser/upload_list.cc b/chrome/browser/upload_list.cc
index 3fe07442fc96d9a31c9835eea8fac8be893b2b78..6b6f93bd99bd1ec76e98e7b405240fec6c75b6e4 100644
--- a/chrome/browser/upload_list.cc
+++ b/chrome/browser/upload_list.cc
@@ -54,6 +54,7 @@ void UploadList::LoadUploadList() {
base::ReadFileToString(upload_log_path_, &contents);
std::vector<std::string> log_entries;
base::SplitStringAlongWhitespace(contents, &log_entries);
+ uploads_.clear();
ParseLogEntries(log_entries);
}
}
« no previous file with comments | « chrome/browser/ui/webui/crashes_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698