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

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

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: uma 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.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 19421cb90262ceb252efe88686d340dca6376385..01fc656495746d47c0ec37e979f962151d16ba27 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -246,7 +246,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void GetNextDownloadId(scoped_refptr<DownloadNextIdRequest> request);
void QueryDownloads(scoped_refptr<DownloadQueryRequest> request);
void CleanUpInProgressEntries();
- void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle);
+ void UpdateDownload(int64 received_bytes, int32 state,
+ const base::Time& end_time, int64 db_handle);
void UpdateDownloadPath(const FilePath& path, int64 db_handle);
void CreateDownload(scoped_refptr<DownloadCreateRequest> request,
int32 id,
@@ -254,7 +255,8 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void RemoveDownload(int64 db_handle);
void RemoveDownloadsBetween(const base::Time remove_begin,
const base::Time remove_end);
- void RemoveDownloads(const base::Time remove_end);
+ void RRemoveDownloademoveDownloads(const base::Time remove_end);
Randy Smith (Not in Mondays) 2011/09/26 18:27:26 ???
benjhayden 2011/09/28 17:35:23 Done.
+ void MarkDownloadOpened(int64 db_handle);
// Segment usage -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698