| Index: components/signin/core/browser/signin_oauth_helper.cc
|
| diff --git a/chrome/browser/signin/signin_oauth_helper.cc b/components/signin/core/browser/signin_oauth_helper.cc
|
| similarity index 89%
|
| rename from chrome/browser/signin/signin_oauth_helper.cc
|
| rename to components/signin/core/browser/signin_oauth_helper.cc
|
| index 2c8790b1d8befa7436afb7ad363cc2acc2140b59..48e6a668a04a8cc34abff28125207577feebc398 100644
|
| --- a/chrome/browser/signin/signin_oauth_helper.cc
|
| +++ b/components/signin/core/browser/signin_oauth_helper.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/signin/signin_oauth_helper.h"
|
| +#include "components/signin/core/browser/signin_oauth_helper.h"
|
|
|
| #include "base/message_loop/message_loop.h"
|
| #include "google_apis/gaia/gaia_auth_fetcher.h"
|
| @@ -28,7 +28,7 @@ void SigninOAuthHelper::OnClientOAuthSuccess(const ClientOAuthResult& result) {
|
| }
|
|
|
| void SigninOAuthHelper::OnClientOAuthFailure(
|
| - const GoogleServiceAuthError& error) {
|
| + const GoogleServiceAuthError& error) {
|
| VLOG(1) << "SigninOAuthHelper::OnClientOAuthFailure: " << error.ToString();
|
| consumer_->OnSigninOAuthInformationFailure(error);
|
| }
|
| @@ -56,9 +56,8 @@ void SigninOAuthHelper::OnGetUserInfoSuccess(const UserInfoMap& data) {
|
| VLOG(1) << "SigninOAuthHelper::OnGetUserInfoSuccess:"
|
| << " email=" << email_iter->second
|
| << " displayEmail=" << display_email_iter->second;
|
| - consumer_->OnSigninOAuthInformationAvailable(email_iter->second,
|
| - display_email_iter->second,
|
| - refresh_token_);
|
| + consumer_->OnSigninOAuthInformationAvailable(
|
| + email_iter->second, display_email_iter->second, refresh_token_);
|
| }
|
| }
|
|
|
|
|