Searched refs:primary_account_id (Results 1 – 11 of 11) sorted by relevance
103 const std::string& primary_account_id = GetPrimaryAccountId(); in RestoreSessionFromSavedTokens() local104 if (token_service->RefreshTokenIsAvailable(primary_account_id)) { in RestoreSessionFromSavedTokens()115 primary_account_id, user_manager::User::OAUTH_TOKEN_STATUS_UNKNOWN); in RestoreSessionFromSavedTokens()117 token_service->LoadCredentials(primary_account_id); in RestoreSessionFromSavedTokens()167 const std::string& primary_account_id = GetPrimaryAccountId(); in StoreOAuth2Token() local168 if (primary_account_id.empty()) { in StoreOAuth2Token()173 OnGetUserEmailResponse(primary_account_id); in StoreOAuth2Token()
206 const std::string primary_account_id = in InitializeTokenService() local208 if (profile_token_service->RefreshTokenIsAvailable(primary_account_id) || in InitializeTokenService()227 primary_account_id, in InitializeTokenService()
171 const std::string& primary_account_id) { in LoadCredentials() argument172 DCHECK(!primary_account_id.empty()); in LoadCredentials()178 loading_primary_account_id_ = primary_account_id; in LoadCredentials()
52 const std::string& primary_account_id) { in LoadCredentials() argument
60 virtual void LoadCredentials(const std::string& primary_account_id);
28 virtual void LoadCredentials(const std::string& primary_account_id) OVERRIDE;
43 virtual void LoadCredentials(const std::string& primary_account_id) OVERRIDE;
200 const std::string& primary_account_id) {205 DCHECK(!primary_account_id.empty());
66 virtual void LoadCredentials(const std::string& primary_account_id) OVERRIDE;
32 const std::string& primary_account_id) { in LoadCredentials() argument
186 const std::string primary_account_id = GetPrimaryAccountId(browser_context_); in GetAccounts() local