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

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

Issue 2757873002: Change SigninClient::CreateGaiaAuthFetcher return type to unique_ptr (Closed)
Patch Set: Created 3 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
Index: components/signin/core/browser/child_account_info_fetcher_impl.cc
diff --git a/components/signin/core/browser/child_account_info_fetcher_impl.cc b/components/signin/core/browser/child_account_info_fetcher_impl.cc
index 22b904859a30a9a5f15d4582b04ca92826295635..c8c2a78290af000325ce4f606db8e6bb6d64c572 100644
--- a/components/signin/core/browser/child_account_info_fetcher_impl.cc
+++ b/components/signin/core/browser/child_account_info_fetcher_impl.cc
@@ -96,9 +96,8 @@ void ChildAccountInfoFetcherImpl::OnGetTokenSuccess(
"OnGetTokenSuccess");
DCHECK_EQ(request, login_token_request_.get());
- gaia_auth_fetcher_.reset(
- fetcher_service_->signin_client_->CreateGaiaAuthFetcher(
- this, GaiaConstants::kChromeSource, request_context_getter_));
+ gaia_auth_fetcher_ = fetcher_service_->signin_client_->CreateGaiaAuthFetcher(
+ this, GaiaConstants::kChromeSource, request_context_getter_);
gaia_auth_fetcher_->StartOAuthLogin(access_token,
GaiaConstants::kGaiaService);
}
« no previous file with comments | « chrome/browser/signin/chrome_signin_client.cc ('k') | components/signin/core/browser/gaia_cookie_manager_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698