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

Unified Diff: chrome/browser/profiles/profile_statistics.cc

Issue 1415223002: Add counts of User data to ProfileInfoCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change GetStatistic from int(...) back to bool(..., int*) Created 5 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: chrome/browser/profiles/profile_statistics.cc
diff --git a/chrome/browser/profiles/profile_statistics.cc b/chrome/browser/profiles/profile_statistics.cc
index 88b48f933b5e55983e991439d07c35d720664c00..812a58ec5891b66a444a82e44c0bb587556f9b66 100644
--- a/chrome/browser/profiles/profile_statistics.cc
+++ b/chrome/browser/profiles/profile_statistics.cc
@@ -251,10 +251,10 @@ ProfileStatValue ProfileStatisticsAggregator::CountPrefs() const {
namespace profiles {
// Constants for the categories in ProfileCategoryStats
-const char kProfileStatisticsBrowsingHistory[] = "BrowsingHistory";
-const char kProfileStatisticsPasswords[] = "Passwords";
-const char kProfileStatisticsBookmarks[] = "Bookmarks";
-const char kProfileStatisticsSettings[] = "Settings";
+const char kProfileStatisticsBrowsingHistory[] = "browsing_history";
+const char kProfileStatisticsPasswords[] = "passwords";
+const char kProfileStatisticsBookmarks[] = "bookmarks";
+const char kProfileStatisticsSettings[] = "settings";
void GetProfileStatistics(Profile* profile,
const ProfileStatisticsCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698