| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/signin/inline_login_handler_impl.h" | 5 #include "chrome/browser/ui/webui/signin/inline_login_handler_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 url(url), | 735 url(url), |
| 736 profile_path(profile_path), | 736 profile_path(profile_path), |
| 737 confirm_untrusted_signin(confirm_untrusted_signin), | 737 confirm_untrusted_signin(confirm_untrusted_signin), |
| 738 email(email), | 738 email(email), |
| 739 gaia_id(gaia_id), | 739 gaia_id(gaia_id), |
| 740 password(password), | 740 password(password), |
| 741 session_index(session_index), | 741 session_index(session_index), |
| 742 auth_code(auth_code), | 742 auth_code(auth_code), |
| 743 choose_what_to_sync(choose_what_to_sync) {} | 743 choose_what_to_sync(choose_what_to_sync) {} |
| 744 | 744 |
| 745 InlineLoginHandlerImpl::FinishCompleteLoginParams::FinishCompleteLoginParams( |
| 746 const FinishCompleteLoginParams& other) = default; |
| 747 |
| 745 InlineLoginHandlerImpl:: | 748 InlineLoginHandlerImpl:: |
| 746 FinishCompleteLoginParams::~FinishCompleteLoginParams() {} | 749 FinishCompleteLoginParams::~FinishCompleteLoginParams() {} |
| 747 | 750 |
| 748 // static | 751 // static |
| 749 void InlineLoginHandlerImpl::FinishCompleteLogin( | 752 void InlineLoginHandlerImpl::FinishCompleteLogin( |
| 750 const FinishCompleteLoginParams& params, | 753 const FinishCompleteLoginParams& params, |
| 751 Profile* profile, | 754 Profile* profile, |
| 752 Profile::CreateStatus status) { | 755 Profile::CreateStatus status) { |
| 753 // When doing a SAML sign in, this email check may result in a false | 756 // When doing a SAML sign in, this email check may result in a false |
| 754 // positive. This happens when the user types one email address in the | 757 // positive. This happens when the user types one email address in the |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 } | 919 } |
| 917 | 920 |
| 918 if (show_account_management) { | 921 if (show_account_management) { |
| 919 browser->window()->ShowAvatarBubbleFromAvatarButton( | 922 browser->window()->ShowAvatarBubbleFromAvatarButton( |
| 920 BrowserWindow::AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, | 923 BrowserWindow::AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, |
| 921 signin::ManageAccountsParams(), | 924 signin::ManageAccountsParams(), |
| 922 signin_metrics::AccessPoint::ACCESS_POINT_AVATAR_BUBBLE_SIGN_IN); | 925 signin_metrics::AccessPoint::ACCESS_POINT_AVATAR_BUBBLE_SIGN_IN); |
| 923 } | 926 } |
| 924 } | 927 } |
| 925 } | 928 } |
| OLD | NEW |