| Index: chrome/browser/signin/google_auto_login_helper.cc
|
| diff --git a/chrome/browser/signin/google_auto_login_helper.cc b/chrome/browser/signin/google_auto_login_helper.cc
|
| index ab0399aa75f8b6ddc77cfdb0d7ccddddf7f0dfcc..d8e21b94e484e5a9821c08cdf9d3f85d51a74dff 100644
|
| --- a/chrome/browser/signin/google_auto_login_helper.cc
|
| +++ b/chrome/browser/signin/google_auto_login_helper.cc
|
| @@ -7,8 +7,6 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| -#include "chrome/browser/signin/profile_oauth2_token_service.h"
|
| -#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "google_apis/gaia/gaia_auth_fetcher.h"
|
| #include "google_apis/gaia/gaia_constants.h"
|
| @@ -24,12 +22,6 @@ GoogleAutoLoginHelper::~GoogleAutoLoginHelper() {
|
| DCHECK(accounts_.empty());
|
| }
|
|
|
| -void GoogleAutoLoginHelper::LogIn() {
|
| - ProfileOAuth2TokenService* token_service =
|
| - ProfileOAuth2TokenServiceFactory::GetForProfile(profile_);
|
| - LogIn(token_service->GetPrimaryAccountId());
|
| -}
|
| -
|
| void GoogleAutoLoginHelper::LogIn(const std::string& account_id) {
|
| accounts_.push_back(account_id);
|
| if (accounts_.size() == 1)
|
|
|