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); |
}; |