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

Unified Diff: chrome/browser/ui/user_manager.h

Issue 2552473002: Display error message when user try to open a locked supervised user profile when force-sign-in is … (Closed)
Patch Set: refactor Created 4 years 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/ui/user_manager.h
diff --git a/chrome/browser/ui/user_manager.h b/chrome/browser/ui/user_manager.h
index 1173d049bb0db70ce6c5997a8876aff3f5487749..bc00a04cfbae575d19ad80e28ccf3d831f150dbc 100644
--- a/chrome/browser/ui/user_manager.h
+++ b/chrome/browser/ui/user_manager.h
@@ -70,8 +70,8 @@ class UserManager {
const std::string& email,
signin_metrics::Reason reason);
- // Hides the reauth dialog if it is showing.
- static void HideReauthDialog();
+ // Hides the dialog if it is showing.
+ static void HideDialog();
sky 2016/12/08 20:57:49 It's confusing that this class has Show(), Hide, S
// Shows a dialog where the user logs into their profile for the first time
// via the user manager.
@@ -81,6 +81,10 @@ class UserManager {
// Display local sign in error message without browser.
static void DisplayErrorMessage();
+ // Show the dialog and display local sign in error message without browser.
+ static void ShowDialogAndDisplayErrorMessage(
+ content::BrowserContext* browser_context);
+
// Get the path of profile that is being signed in.
static base::FilePath GetSigninProfilePath();
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/user_manager_mac.mm ('k') | chrome/browser/ui/views/profiles/user_manager_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698