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

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

Issue 16517002: Track fraction of visits to top URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added more detail to histogram description. Created 7 years, 6 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 | « no previous file | chrome/browser/history/history_backend.cc » ('j') | chrome/browser/history/history_backend.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 2aff6599cf09598c4cc10bebc5b6fbb960bd1304..2827fc4772da0a9657d357d80971d295e8bb17c7 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -904,6 +904,12 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
#if defined(OS_ANDROID)
// Used to provide the Android ContentProvider APIs.
scoped_ptr<AndroidProviderBackend> android_provider_backend_;
+
+ // Used to provide UMA on the number of page visits that are to the most
+ // visited URLs. This is here because the backend both has access to this
+ // information and is notified of page visits. The top sites service should
+ // be used instead whenever possible.
+ MostVisitedURLList most_visited_urls_;
jar (doing other things) 2013/06/17 22:58:14 nit: I went to see what type this was... and notic
bengr 2013/06/17 23:46:59 Done.
#endif
// Used to manage syncing of the typed urls datatype. This will be NULL
« no previous file with comments | « no previous file | chrome/browser/history/history_backend.cc » ('j') | chrome/browser/history/history_backend.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698