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

Unified Diff: chrome/browser/signin/signin_error_notifier_ash.cc

Issue 1428213004: This CL replaces std::string user_id in ash/* with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. 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: chrome/browser/signin/signin_error_notifier_ash.cc
diff --git a/chrome/browser/signin/signin_error_notifier_ash.cc b/chrome/browser/signin/signin_error_notifier_ash.cc
index 60e5f49741a20f3cbe2b21c55eae096dc7c79b4b..ef864400a50fc81394dc30ea7987f6e1e765987a 100644
--- a/chrome/browser/signin/signin_error_notifier_ash.cc
+++ b/chrome/browser/signin/signin_error_notifier_ash.cc
@@ -26,6 +26,7 @@
#include "chrome/common/url_constants.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
+#include "components/signin/core/account_id/account_id.h"
#include "grit/theme_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
@@ -174,7 +175,8 @@ void SigninErrorNotifier::OnErrorChanged() {
kProfileSigninNotificationId);
// Set |profile_id| for multi-user notification blocker.
- notifier_id.profile_id = multi_user_util::GetUserIDFromProfile(profile_);
+ notifier_id.profile_id =
+ multi_user_util::GetAccountIdFromProfile(profile_).GetUserEmail();
Notification notification(
message_center::NOTIFICATION_TYPE_SIMPLE,
« no previous file with comments | « chrome/browser/notifications/profile_notification.cc ('k') | chrome/browser/sync/sync_error_notifier_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698