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 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: Address review comments 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..56165b9d562d914b21a1d3c8679f596fcb295577 100644
--- a/chrome/browser/ui/user_manager.h
+++ b/chrome/browser/ui/user_manager.h
@@ -32,6 +32,13 @@ 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;

Powered by Google App Engine
This is Rietveld 408576698