Chromium Code Reviews| Index: chrome/browser/profiles/profile_metrics.cc |
| =================================================================== |
| --- chrome/browser/profiles/profile_metrics.cc (revision 112673) |
| +++ chrome/browser/profiles/profile_metrics.cc (working copy) |
| @@ -113,6 +113,9 @@ |
| case 25: |
| icon_name = AVATAR_SUN_CLOUD; |
| break; |
| + case 27: |
| + icon_name = AVATAR_GAIA; |
| + break; |
| default: // We should never actually get here, but just in case |
|
Ilya Sherman
2011/12/03 02:31:13
nit: Perhaps add a NOTREACHED() stmt here?
rpetterson
2011/12/05 20:27:14
Done.
|
| icon_name = AVATAR_UNKNOWN; |
| break; |
| @@ -164,3 +167,9 @@ |
| GetProfileType(profile_path), |
| NUM_PROFILE_TYPE_METRICS); |
| } |
| + |
| +void ProfileMetrics::LogProfileSwitchGaia(ProfileGaia metric) { |
| + UMA_HISTOGRAM_ENUMERATION("Profile.SwitchGaiaPhotoSettings", |
| + metric, |
| + NUM_PROFILE_GAIA_METRICS); |
| +} |