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

Unified Diff: chrome/browser/history/history_backend.cc

Issue 8008021: Add new UMA stats to get a handle on Downloads UI Usage (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fixed tests Created 9 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
Index: chrome/browser/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 9ffc50466df917a0a26b78f70db54c623fe6be9c..64ae2bed6279addebb373dfdf1c44a6d1230b8bc 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -1118,11 +1118,9 @@ void HistoryBackend::CleanUpInProgressEntries() {
}
// Update a particular download entry.
-void HistoryBackend::UpdateDownload(int64 received_bytes,
- int32 state,
- int64 db_handle) {
+void HistoryBackend::UpdateDownload(history::DownloadItemData data) {
if (db_.get())
- db_->UpdateDownload(received_bytes, state, db_handle);
+ db_->UpdateDownload(data);
}
// Update the path of a particular download entry.

Powered by Google App Engine
This is Rietveld 408576698