Index: google_apis/gaia/account_tracker.cc |
diff --git a/google_apis/gaia/account_tracker.cc b/google_apis/gaia/account_tracker.cc |
index 0ec2ec1aa9676e6c31a19746cb4a903a93a3452e..50c4e7083fe1cdf4257be8703d80ec99e61df795 100644 |
--- a/google_apis/gaia/account_tracker.cc |
+++ b/google_apis/gaia/account_tracker.cc |
@@ -274,8 +274,10 @@ AccountIdFetcher::~AccountIdFetcher() { |
} |
void AccountIdFetcher::Start() { |
+ OAuth2TokenService::ScopeSet scopes; |
+ scopes.insert("https://www.googleapis.com/auth/userinfo.profile"); |
login_token_request_ = token_service_->StartRequest( |
- account_key_, OAuth2TokenService::ScopeSet(), this); |
+ account_key_, scopes, this); |
} |
void AccountIdFetcher::OnGetTokenSuccess( |