Home | History | Annotate | Download | only in sync

Lines Matching defs:signin

23 #include "chrome/browser/signin/signin_manager_factory.h"
24 #include "chrome/browser/signin/signin_tracker_factory.h"
37 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
38 #include "chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.h"
42 #include "components/signin/core/browser/signin_manager.h"
43 #include "components/signin/core/browser/signin_metrics.h"
44 #include "components/signin/core/common/profile_management_switches.h"
51 // UMA histogram for tracking what users do when presented with the signin
100 // before signin completes.
153 SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
154 // If this is a new signin (no authenticated username yet) try loading
156 if (!signin->IsAuthenticated()) {
161 signin->GetUsernameForAuthInProgress(),
172 signin->CompletePendingSignin();
207 SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
236 signin->GetUsernameForAuthInProgress(),
243 SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
247 signin->GetUsernameForAuthInProgress(),
256 // For now, we allow signin to complete even if the policy fetch fails. If
260 DVLOG_IF(1, success) << "Policy fetch successful - completing signin";
265 SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
266 DCHECK(!signin->GetUsernameForAuthInProgress().empty());
270 // signin credentials.
274 base::UTF8ToUTF16(signin->GetUsernameForAuthInProgress()),
318 // the signin for the original profile was cancelled (must do this after
320 // object will get freed when the signin on the old profile is cancelled.
324 // loading the signin process will complete.
356 SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
362 base::UTF8ToUTF16(signin->GetUsernameForAuthInProgress()),
369 signin->CompletePendingSignin();
391 SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
392 signin->CompletePendingSignin();
423 signin.
528 // If the sign in tab is showing the native signin page or the blank page
541 signin::IsContinueUrlForWebBasedSigninFlow(current_url)) &&
542 !signin::IsAutoCloseEnabledInURL(current_url) &&