Index: chrome/browser/notifications/profile_notification.cc |
diff --git a/chrome/browser/notifications/profile_notification.cc b/chrome/browser/notifications/profile_notification.cc |
index 8c1b7ac83cd2d498346221eb1b6a469e93add97f..1109b796f14ad6cd66412930302362ab933512bb 100644 |
--- a/chrome/browser/notifications/profile_notification.cc |
+++ b/chrome/browser/notifications/profile_notification.cc |
@@ -6,6 +6,7 @@ |
#include "base/strings/stringprintf.h" |
#include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
+#include "components/signin/core/account_id/account_id.h" |
// static |
std::string ProfileNotification::GetProfileNotificationId( |
@@ -30,7 +31,8 @@ ProfileNotification::ProfileNotification(Profile* profile, |
notification) { |
DCHECK(profile); |
#if defined(OS_CHROMEOS) |
- notification_.set_profile_id(multi_user_util::GetUserIDFromProfile(profile)); |
+ notification_.set_profile_id( |
+ multi_user_util::GetAccountIdFromProfile(profile).GetUserEmail()); |
#endif |
} |