| Index: components/signin/core/browser/account_tracker_service.cc
|
| diff --git a/components/signin/core/browser/account_tracker_service.cc b/components/signin/core/browser/account_tracker_service.cc
|
| index 1191a96651ed11dc9078dce7aa27685e47bdf81a..78d942afff1d3f91b45477090ae290e8cc549cce 100644
|
| --- a/components/signin/core/browser/account_tracker_service.cc
|
| +++ b/components/signin/core/browser/account_tracker_service.cc
|
| @@ -601,12 +601,8 @@ std::string AccountTrackerService::PickAccountIdForAccount(
|
| }
|
| }
|
|
|
| -void AccountTrackerService::SeedAccountInfo(const std::string& gaia,
|
| - const std::string& email) {
|
| - DVLOG(1) << "AccountTrackerService::SeedAccountInfo"
|
| - << " gaia_id=" << gaia
|
| - << " email=" << email;
|
| -
|
| +std::string AccountTrackerService::SeedAccountInfo(const std::string& gaia,
|
| + const std::string& email) {
|
| DCHECK(!gaia.empty());
|
| DCHECK(!email.empty());
|
| const std::string account_id = PickAccountIdForAccount(gaia, email);
|
| @@ -617,4 +613,11 @@ void AccountTrackerService::SeedAccountInfo(const std::string& gaia,
|
| state.info.gaia = gaia;
|
| state.info.email = email;
|
| SaveToPrefs(state);
|
| +
|
| + DVLOG(1) << "AccountTrackerService::SeedAccountInfo"
|
| + << " account_id=" << account_id
|
| + << " gaia_id=" << gaia
|
| + << " email=" << email;
|
| +
|
| + return account_id;
|
| }
|
|
|