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

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

Issue 1220843003: Perform online reauth when password is changed for a locked profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use DialogDelegateView Created 5 years, 5 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
Index: chrome/browser/ui/user_manager.h
diff --git a/chrome/browser/ui/user_manager.h b/chrome/browser/ui/user_manager.h
index 4e0d21715c91b7a12447ca4aa797d0dfa4596fb3..e5909974f62672c5bf042cde2b174b88d3748236 100644
--- a/chrome/browser/ui/user_manager.h
+++ b/chrome/browser/ui/user_manager.h
@@ -32,11 +32,21 @@ class UserManager {
// To be called once the User Manager's contents are showing.
static void OnUserManagerShown();
+ // Shows a dialog where the user can re-authenticate when their profile is
+ // not yet open. This is called from the user manager when a profile is
+ // locked and it has detected that the user's password has changed since the
+ // profile was locked.
+ static void ShowReauthDialog(content::BrowserContext* browser_context,
+ const std::string& email);
+
// TODO(noms): Figure out if this size can be computed dynamically or adjusted
// for smaller screens.
static const int kWindowWidth = 800;
static const int kWindowHeight = 600;
+ static const int kReauthDialogWidth = 360;
+ static const int kReauthDialogHeight = 440;
+
private:
DISALLOW_COPY_AND_ASSIGN(UserManager);
};
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/user_manager_mac.mm ('k') | chrome/browser/ui/views/profiles/user_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698