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

Unified Diff: chrome/browser/ui/webui/signin/signin_create_profile_handler.h

Issue 2383823002: With force signin enabled, the signin dialog will be displayed after profile creation instead of br… (Closed)
Patch Set: cr 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/signin_create_profile_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/signin_create_profile_handler.h
diff --git a/chrome/browser/ui/webui/signin/signin_create_profile_handler.h b/chrome/browser/ui/webui/signin/signin_create_profile_handler.h
index 63a9daa37b0cc92fefcb77678eba42421caa2a42..e8b1160476212688feca3ef6ba83824af21d0cc6 100644
--- a/chrome/browser/ui/webui/signin/signin_create_profile_handler.h
+++ b/chrome/browser/ui/webui/signin/signin_create_profile_handler.h
@@ -57,6 +57,8 @@ class SigninCreateProfileHandler : public content::WebUIMessageHandler,
CustodianHasAuthError);
FRIEND_TEST_ALL_PREFIXES(SigninCreateProfileHandlerTest,
NotAllowedToCreateSupervisedUser);
+ FRIEND_TEST_ALL_PREFIXES(SigninCreateProfileHandlerTest,
+ CreateProfileWithForceSignin);
#endif
// WebUIMessageHandler implementation.
@@ -140,6 +142,9 @@ class SigninCreateProfileHandler : public content::WebUIMessageHandler,
virtual void OpenNewWindowForProfile(Profile* profile,
Profile::CreateStatus status);
+ // Opens a new signin dialog for |profile|.
+ virtual void OpenSigninDialogForProfile(Profile* profile);
+
// This callback is run after a new browser (but not the window) has been
// created for the new profile.
void OnBrowserReadyCallback(Profile* profile, Profile::CreateStatus status);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/signin_create_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698