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

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

Issue 212603011: Newly created profiles should have the grey silhouette as avatar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase reviewed Created 6 years, 8 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/profiles/profile_metrics.cc
diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc
index b04c2377fe7a8b511c443746ccf6bcf521cb9c6f..feb19220d30e21a159e97a836846de39a37f56a0 100644
--- a/chrome/browser/profiles/profile_metrics.cc
+++ b/chrome/browser/profiles/profile_metrics.cc
@@ -107,8 +107,9 @@ enum ProfileAvatar {
AVATAR_MARGARITA,
AVATAR_NOTE,
AVATAR_SUN_CLOUD,
- AVATAR_UNKNOWN, // 26
- AVATAR_GAIA, // 27
+ AVATAR_PLACEHOLDER,
+ AVATAR_UNKNOWN, // 27
+ AVATAR_GAIA, // 28
NUM_PROFILE_AVATAR_METRICS
};
@@ -237,7 +238,10 @@ void ProfileMetrics::LogProfileAvatarSelection(size_t icon_index) {
case 25:
icon_name = AVATAR_SUN_CLOUD;
break;
- case 27:
+ case 26:
+ icon_name = AVATAR_PLACEHOLDER;
+ break;
+ case 28:
icon_name = AVATAR_GAIA;
break;
default: // We should never actually get here.
« no previous file with comments | « chrome/browser/profiles/profile_list_desktop.cc ('k') | chrome/browser/profiles/profile_shortcut_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698