| Index: chrome/browser/signin/account_reconcilor.cc
|
| diff --git a/chrome/browser/signin/account_reconcilor.cc b/chrome/browser/signin/account_reconcilor.cc
|
| index 0d83f81f25b0c634374d97d4952992aaaa986df0..e966c94a50116bddcfbf5573a17cfdacb94fcf55 100644
|
| --- a/chrome/browser/signin/account_reconcilor.cc
|
| +++ b/chrome/browser/signin/account_reconcilor.cc
|
| @@ -8,7 +8,6 @@
|
| #include "chrome/browser/net/chrome_cookie_notification_details.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/signin/account_reconcilor.h"
|
| -#include "chrome/browser/signin/google_auto_login_helper.h"
|
| #include "chrome/browser/signin/profile_oauth2_token_service.h"
|
| #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
|
| #include "chrome/browser/signin/signin_manager.h"
|
| @@ -22,9 +21,11 @@
|
|
|
| AccountReconcilor::AccountReconcilor(Profile* profile)
|
| : profile_(profile),
|
| + merge_session_helper_(profile),
|
| are_gaia_accounts_set_(false),
|
| requests_(NULL) {
|
| DVLOG(1) << "AccountReconcilor::AccountReconcilor";
|
| + merge_session_helper_.disable_auto_delete_when_done();
|
| RegisterWithSigninManager();
|
| RegisterWithCookieMonster();
|
|
|
| @@ -159,9 +160,7 @@ void AccountReconcilor::OnRefreshTokenRevoked(const std::string& account_id) {
|
| void AccountReconcilor::OnRefreshTokensLoaded() {}
|
|
|
| void AccountReconcilor::PerformMergeAction(const std::string& account_id) {
|
| - // GoogleAutoLoginHelper deletes itself upon success / failure.
|
| - GoogleAutoLoginHelper* helper = new GoogleAutoLoginHelper(profile_);
|
| - helper->LogIn(account_id);
|
| + merge_session_helper_.LogIn(account_id);
|
| }
|
|
|
| void AccountReconcilor::PerformRemoveAction(const std::string& account_id) {
|
|
|