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

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

Issue 2351173004: Display local signin error without browser and record the path of selected profile in user manager. (Closed)
Patch Set: Created 4 years, 3 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 e6d2d349beb89422174052ab254aecdb517016af..24c18b45b87910e7b82d962c9c57bac12609e167 100644
--- a/chrome/browser/ui/user_manager.h
+++ b/chrome/browser/ui/user_manager.h
@@ -55,6 +55,17 @@ class UserManager {
// Hides the reauth dialog if it is showing.
static void HideReauthDialog();
+ // Shows a dialog where the user login his or her profile by the first time
+ // via user manager.
+ static void ShowSigninDialog(content::BrowserContext* browser_context,
+ const base::FilePath profile_path);
+
+ // Display local sign in error message withou browser.
pastarmovj 2016/09/21 08:44:10 nit: s/withou/without/
zmin 2016/09/21 16:40:04 Done.
+ static void DisplayErrorMessage();
+
+ // Get the path of profile that is being signed in.
+ static base::FilePath GetSigninProfilePath();
+
// TODO(noms): Figure out if this size can be computed dynamically or adjusted
sky 2016/09/20 23:30:19 Sorry for random comment, just noticing this now.
zmin 2016/09/21 16:40:04 Done.
// for smaller screens.
static const int kWindowWidth = 800;

Powered by Google App Engine
This is Rietveld 408576698