Searched refs:account_key (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/google_apis/gaia/ |
H A D | account_tracker.cc | 89 "account_key", 103 "account_key", 132 accounts_[ids.account_key].ids = ids; 133 accounts_[ids.account_key].is_signed_in = is_signed_in; 135 DVLOG(1) << "SetAccountStateForTest " << ids.account_key << ":" 167 void AccountTracker::UpdateSignInState(const std::string account_key, argument 169 StartTrackingAccount(account_key); 170 AccountState& account = accounts_[account_key]; 176 StartFetchingUserInfo(account_key); 182 void AccountTracker::StartTrackingAccount(const std::string account_key) { argument 193 StopTrackingAccount(const std::string account_key) argument 213 StartFetchingUserInfo(const std::string account_key) argument 229 const std::string& account_key = fetcher->account_key(); local 251 const std::string& account_key = fetcher->account_key(); local 258 AccountIdFetcher( OAuth2TokenService* token_service, net::URLRequestContextGetter* request_context_getter, AccountTracker* tracker, const std::string& account_key) argument [all...] |
H A D | account_tracker.h | 27 std::string account_key; // The account ID used by OAuth2TokenService. member in struct:gaia::AccountIds 70 virtual void OnRefreshTokenAvailable(const std::string& account_key) OVERRIDE; 71 virtual void OnRefreshTokenRevoked(const std::string& account_key) OVERRIDE; 100 void UpdateSignInState(const std::string account_key, bool is_signed_in); 102 void StartTrackingAccount(const std::string account_key); 103 void StopTrackingAccount(const std::string account_key); 105 void StartFetchingUserInfo(const std::string account_key); 122 const std::string& account_key); 125 const std::string& account_key() { return account_key_; } function in class:gaia::AccountIdFetcher
|
H A D | account_tracker_unittest.cc | 39 const std::string& account_key, 42 account_key_(account_key), 46 const std::string& account_key) 48 account_key_(account_key), 49 gaia_id_(AccountKeyToObfuscatedId(account_key)) {} 298 void NotifyLogin(const std::string account_key) { argument 299 identity_provider()->LogIn(account_key); 318 std::string GetValidTokenInfoResponse(const std::string account_key) { argument 319 return std::string("{ \"id\": \"") + AccountKeyToObfuscatedId(account_key) + 327 void ReturnOAuthUrlFetchSuccess(const std::string& account_key); 38 TrackingEvent(TrackingEventType type, const std::string& account_key, const std::string& gaia_id) argument 45 TrackingEvent(TrackingEventType type, const std::string& account_key) argument 370 ReturnOAuthUrlFetchSuccess( const std::string& account_key) argument 378 ReturnOAuthUrlFetchFailure( const std::string& account_key) argument [all...] |
/external/chromium_org/chrome/browser/services/gcm/ |
H A D | gcm_account_tracker_unittest.cc | 31 std::string GetValidTokenInfoResponse(const std::string account_key) { argument 32 return std::string("{ \"id\": \"") + AccountKeyToObfuscatedId(account_key) + 36 std::string MakeAccessToken(const std::string& account_key) { argument 37 return "access_token-" + account_key; 53 void StartAccountSignIn(const std::string& account_key); 54 void FinishAccountSignIn(const std::string& account_key); 55 void SignInAccount(const std::string& account_key); 56 void SignOutAccount(const std::string& account_key); 59 void IssueAccessToken(const std::string& account_key); 60 void IssueError(const std::string& account_key); 117 StartAccountSignIn(const std::string& account_key) argument 122 FinishAccountSignIn( const std::string& account_key) argument 134 SignInAccount(const std::string& account_key) argument 139 SignOutAccount(const std::string& account_key) argument 143 IssueAccessToken(const std::string& account_key) argument 148 IssueError(const std::string& account_key) argument [all...] |
H A D | gcm_account_tracker.cc | 65 iter->account_key, AccountInfo(iter->email, TOKEN_NEEDED))); 231 AccountInfos::iterator iter = account_infos_.find(ids.account_key); 235 std::make_pair(ids.account_key, AccountInfo(ids.email, TOKEN_NEEDED))); 245 AccountInfos::iterator iter = account_infos_.find(ids.account_key);
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
H A D | identity_api.cc | 204 return account_tracker_.FindAccountIdsByGaiaId(gaia_id).account_key; 332 std::string account_key = GetPrimaryAccountId(GetProfile()); local 341 if (detail_key != account_key) { 348 account_key = detail_key; 364 new ExtensionTokenKey(extension()->id(), account_key, scopes));
|
H A D | identity_apitest.cc | 393 ids.account_key = email; 643 void SignIn(const std::string account_key) { argument 645 signin_manager_->SetAuthenticatedUsername(account_key); 647 signin_manager_->SignIn(account_key, "password"); 649 token_service_->IssueRefreshTokenForUser(account_key, "refresh_token"); 652 void IssueLoginRefreshTokenForAccount(const std::string account_key) { argument 653 token_service_->IssueRefreshTokenForUser(account_key, "refresh_token"); 656 void IssueLoginAccessTokenForAccount(const std::string account_key) { argument 658 account_key, 659 "access_token-" + account_key, [all...] |
Completed in 145 milliseconds