| Index: chrome/browser/profiles/profile_metrics.cc
|
| diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc
|
| index a829be238793e76afa1d163b7239a18873845578..c79a9288a87ad48507fe0fac2b30366278036173 100644
|
| --- a/chrome/browser/profiles/profile_metrics.cc
|
| +++ b/chrome/browser/profiles/profile_metrics.cc
|
| @@ -295,6 +295,17 @@ void ProfileMetrics::LogProfileUpgradeEnrollment(
|
| NUM_PROFILE_ENROLLMENT_METRICS);
|
| }
|
|
|
| +void ProfileMetrics::LogProfileDesktopSignout(ProfileDesktopSignout metric,
|
| + bool opened_from_content) {
|
| + if (opened_from_content) {
|
| + UMA_HISTOGRAM_ENUMERATION("Profile.DesktopSignout.Content", metric,
|
| + NUM_PROFILE_DESKTOP_SIGNOUT_METRICS);
|
| + } else {
|
| + UMA_HISTOGRAM_ENUMERATION("Profile.DesktopSignout.Button", metric,
|
| + NUM_PROFILE_DESKTOP_SIGNOUT_METRICS);
|
| + }
|
| +}
|
| +
|
| void ProfileMetrics::LogProfileLaunch(Profile* profile) {
|
| base::FilePath profile_path = profile->GetPath();
|
| UMA_HISTOGRAM_ENUMERATION("Profile.LaunchBrowser",
|
|
|