Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(680)

Unified Diff: components/signin/core/browser/signin_oauth_helper.cc

Issue 219933002: Componentize AccountReconcilor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ChromeOS fix Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/signin/core/browser/signin_oauth_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
}
« no previous file with comments | « components/signin/core/browser/signin_oauth_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698