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

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

Issue 485073002: Migrate signin error messages to the new avatar bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed cros error Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/signin/signin_ui_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_window.cc
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
index 7e88d0ccaa7484da45b2b624dd6bce9aae356c15..10b48e19cd03d7fa56cab89d3d442126198abc31 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -372,6 +372,10 @@ void BubbleViewModeFromAvatarBubbleMode(
*bubble_view_mode = BUBBLE_VIEW_MODE_PROFILE_CHOOSER;
*tutorial_mode = TUTORIAL_MODE_CONFIRM_SIGNIN;
return;
+ case BrowserWindow::AVATAR_BUBBLE_MODE_SHOW_ERROR:
+ *bubble_view_mode = BUBBLE_VIEW_MODE_PROFILE_CHOOSER;
+ *tutorial_mode = TUTORIAL_MODE_SHOW_ERROR;
+ return;
default:
*bubble_view_mode = profiles::BUBBLE_VIEW_MODE_PROFILE_CHOOSER;
}
« no previous file with comments | « no previous file | chrome/browser/signin/signin_ui_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698