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

Unified Diff: ui/login/account_picker/user_pod_row.js

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: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index 05412649da72a2480b268b0ef6d05bff3bf8d0ec..d945895f52c7b73b43eac664ab3182258917397b 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -1455,10 +1455,10 @@ cr.define('login', function() {
return;
// Converting profileStats into id attribute by an object.
var stats_id_map = {
- 'BrowsingHistory': 'action-box-remove-user-warning-history',
- 'Passwords': 'action-box-remove-user-warning-passwords',
- 'Bookmarks': 'action-box-remove-user-warning-bookmarks',
- 'Settings': 'action-box-remove-user-warning-settings',
+ 'browsing_history': 'action-box-remove-user-warning-history',
+ 'passwords': 'action-box-remove-user-warning-passwords',
+ 'bookmarks': 'action-box-remove-user-warning-bookmarks',
+ 'settings': 'action-box-remove-user-warning-settings',
}
// Load individual statistics
var num_stats_loaded = 0;
« chrome/browser/profiles/profile_info_cache.h ('K') | « chrome/browser/profiles/profile_statistics.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698