/external/chromium_org/components/gcm_driver/ |
H A D | gcm_client.h | 146 std::string account_id; member in struct:gcm::GCMClient::AccountTokenInfo 294 // Removes the account mapping related to |account_id| from the persistent 296 virtual void RemoveAccountMapping(const std::string& account_id) = 0;
|
H A D | gcm_client_impl.cc | 450 void GCMClientImpl::RemoveAccountMapping(const std::string& account_id) { argument 452 account_id,
|
H A D | gcm_driver_android.cc | 146 void GCMDriverAndroid::RemoveAccountMapping(const std::string& account_id) { argument
|
H A D | gcm_driver_desktop.cc | 82 void RemoveAccountMapping(const std::string& account_id); 327 const std::string& account_id) { 331 gcm_client_->RemoveAccountMapping(account_id); 614 void GCMDriverDesktop::RemoveAccountMapping(const std::string& account_id) { argument 621 account_id)); 326 RemoveAccountMapping( const std::string& account_id) argument
|
H A D | gcm_driver_desktop_unittest.cc | 133 void SignIn(const std::string& account_id); 272 void GCMDriverTest::SignIn(const std::string& account_id) { argument
|
/external/chromium_org/components/invalidation/ |
H A D | ticl_invalidation_service.cc | 194 const std::string& account_id = identity_provider_->GetActiveAccountId(); local 196 token_service->InvalidateToken(account_id, oauth2_scopes, access_token_); 199 token_service->StartRequest(account_id, oauth2_scopes, this); 249 const std::string& account_id) { 255 const std::string& account_id) { 248 OnRefreshTokenAvailable( const std::string& account_id) argument 254 OnRefreshTokenRevoked( const std::string& account_id) argument
|
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | cloud_policy_client_registration_helper.cc | 62 const std::string& account_id, 67 DCHECK(!account_id.empty()); 68 DCHECK(token_service->RefreshTokenIsAvailable(account_id)); 75 token_request_ = token_service->StartRequest(account_id, scopes, this); 172 const std::string& account_id, 182 account_id, 60 FetchAccessToken( OAuth2TokenService* token_service, const std::string& account_id, const StringCallback& callback) argument 170 StartRegistration( OAuth2TokenService* token_service, const std::string& account_id, const base::Closure& callback) argument
|
/external/chromium_org/components/signin/core/browser/ |
H A D | about_signin_internals.cc | 235 const std::string& account_id, 238 TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes); 243 signin_status_.token_info_map[account_id].push_back(token); 250 const std::string& account_id, 255 TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes); 257 DVLOG(1) << "Can't find token: " << account_id << ", " << consumer_id; 269 const std::string& account_id, 271 for (size_t i = 0; i < signin_status_.token_info_map[account_id].size(); 273 TokenInfo* token = signin_status_.token_info_map[account_id][i]; 419 const std::string& account_id, 234 OnAccessTokenRequested( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument 249 OnFetchAccessTokenComplete( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes, GoogleServiceAuthError error, base::Time expiration_time) argument 268 OnTokenRemoved( const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument 418 FindToken( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument [all...] |
H A D | account_reconcilor.cc | 184 void AccountReconcilor::GoogleSigninSucceeded(const std::string& account_id, argument 192 void AccountReconcilor::GoogleSignedOut(const std::string& account_id, argument 203 void AccountReconcilor::PerformMergeAction(const std::string& account_id) { argument 205 MarkAccountAsAddedToCookie(account_id); 208 VLOG(1) << "AccountReconcilor::PerformMergeAction: " << account_id; 209 merge_session_helper_.LogIn(account_id); 468 const std::string& account_id) { 472 if (account_id == *i) { 481 const std::string& account_id, 483 VLOG(1) << "AccountReconcilor::MergeSessionCompleted: account_id 467 MarkAccountAsAddedToCookie( const std::string& account_id) argument 480 MergeSessionCompleted( const std::string& account_id, const GoogleServiceAuthError& error) argument [all...] |
H A D | account_service_flag_fetcher.cc | 12 const std::string& account_id, 17 account_id_(account_id), 42 const std::string& account_id) { 44 if (account_id != account_id_) 11 AccountServiceFlagFetcher( const std::string& account_id, ProfileOAuth2TokenService* token_service, net::URLRequestContextGetter* request_context, const ResultCallback& callback) argument 41 OnRefreshTokenAvailable( const std::string& account_id) argument
|
H A D | account_tracker_service.cc | 21 const char kAccountKeyPath[] = "account_id"; 33 const std::string& account_id); 36 const std::string& account_id() { return account_id_; } function in class:AccountInfoFetcher 67 const std::string& account_id) 72 account_id_(account_id) { 75 "account_id", account_id); 124 "account_id", 209 const std::string& account_id) { 210 if (ContainsKey(accounts_, account_id)) 63 AccountInfoFetcher( OAuth2TokenService* token_service, net::URLRequestContextGetter* request_context_getter, AccountTrackerService* service, const std::string& account_id) argument 208 GetAccountInfo( const std::string& account_id) argument 258 OnRefreshTokenAvailable( const std::string& account_id) argument 273 OnRefreshTokenRevoked( const std::string& account_id) argument 296 StartTrackingAccount( const std::string& account_id) argument 306 StopTrackingAccount(const std::string& account_id) argument 321 StartFetchingUserInfo( const std::string& account_id) argument 339 const std::string& account_id = fetcher->account_id(); local 365 const std::string& account_id = fetcher->account_id(); local 379 std::string account_id = base::UTF16ToUTF8(value); local [all...] |
H A D | account_tracker_service.h | 35 std::string account_id; // The account ID used by OAuth2TokenService. member in struct:AccountTrackerService::AccountInfo 74 AccountInfo GetAccountInfo(const std::string& account_id); 94 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 95 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE; 104 void StartTrackingAccount(const std::string& account_id); 105 void StopTrackingAccount(const std::string& account_id); 108 virtual void StartFetchingUserInfo(const std::string& account_id);
|
H A D | account_tracker_service_unittest.cc | 28 std::string AccountIdToEmail(const std::string account_id) { argument 29 return account_id + "@gmail.com"; 32 std::string AccountIdToGaiaId(const std::string account_id) { argument 33 return "gaia-" + account_id; 39 const std::string& account_id, 42 account_id_(account_id), 46 const std::string& account_id) 48 account_id_(account_id), 49 gaia_id_(AccountIdToGaiaId(account_id)) {} 66 return base::StringPrintf("{ type: %s, account_id 38 TrackingEvent(TrackingEventType type, const std::string& account_id, const std::string& gaia_id) argument 45 TrackingEvent(TrackingEventType type, const std::string& account_id) argument 217 SimulateTokenAvailable(const std::string& account_id) argument 221 SimulateTokenRevoked(const std::string& account_id) argument 226 IssueAccessToken(const std::string& account_id) argument 231 GenerateValidTokenInfoResponse(const std::string& account_id) argument 273 ReturnOAuthUrlFetchSuccess( const std::string& account_id) argument 281 ReturnOAuthUrlFetchFailure( const std::string& account_id) argument [all...] |
H A D | fake_auth_status_provider.cc | 29 void FakeAuthStatusProvider::SetAuthError(const std::string& account_id, argument 32 account_id_ = account_id;
|
H A D | mutable_profile_oauth2_token_service.cc | 22 std::string ApplyAccountIdPrefix(const std::string& account_id) { argument 23 return kAccountIdPrefix + account_id; 30 bool IsLegacyServiceId(const std::string& account_id) { argument 31 return account_id.compare(0u, kAccountIdPrefixLength, kAccountIdPrefix) != 0; 47 const std::string& account_id); 85 const std::string& account_id, 88 account_id_(account_id), 115 // TODO(rogerta): when |account_id| becomes the obfuscated gaia id, this 143 const std::string& account_id) const { 144 return !GetRefreshToken(account_id) 83 AccountInfo( ProfileOAuth2TokenService* token_service, const std::string& account_id, const std::string& refresh_token) argument 156 CreateAccessTokenFetcher( const std::string& account_id, net::URLRequestContextGetter* getter, OAuth2AccessTokenConsumer* consumer) argument 245 std::string account_id = RemoveAccountIdPrefix(prefixed_account_id); local 263 UpdateAuthError( const std::string& account_id, const GoogleServiceAuthError& error) argument 292 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument 330 RevokeCredentials( const std::string& account_id) argument 345 PersistCredentials( const std::string& account_id, const std::string& refresh_token) argument 355 ClearPersistedCredentials( const std::string& account_id) argument [all...] |
H A D | profile_oauth2_token_service.cc | 41 const std::string& account_id, 57 const std::string& account_id, 40 UpdateAuthError( const std::string& account_id, const GoogleServiceAuthError& error) argument 56 UpdateCredentials( const std::string& account_id, const std::string& refresh_token) argument
|
H A D | signin_account_id_helper.cc | 132 void SigninAccountIdHelper::GoogleSignedOut(const std::string& account_id, argument 138 const std::string& account_id) { 139 if (account_id == signin_manager_->GetAuthenticatedAccountId()) { 137 OnRefreshTokenAvailable( const std::string& account_id) argument
|
H A D | signin_client.h | 81 virtual void GoogleSigninSucceeded(const std::string& account_id, argument
|
H A D | signin_error_controller.cc | 64 std::string account_id = (*it)->GetAccountId(); local 68 if (error.state() == prev_state && account_id == prev_account_id) { 70 error_account_id_ = account_id; 80 error_account_id_ = account_id;
|
H A D | signin_manager.cc | 85 const std::string& account_id = GetAuthenticatedUsername(); local 86 if (token_service_ && !account_id.empty()) 87 token_service_->LoadCredentials(account_id); 204 const std::string account_id = GetAuthenticatedAccountId(); local 233 GoogleSignedOut(account_id, username));
|
H A D | signin_manager_base.h | 51 virtual void GoogleSigninSucceeded(const std::string& account_id, argument 56 virtual void GoogleSignedOut(const std::string& account_id, argument
|
H A D | signin_tracker.cc | 49 void SigninTracker::OnRefreshTokenAvailable(const std::string& account_id) { argument 50 if (account_id != signin_manager_->GetAuthenticatedAccountId()) 65 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) { argument 70 const std::string& account_id, 69 MergeSessionCompleted( const std::string& account_id, const GoogleServiceAuthError& error) argument
|
/external/chromium_org/chromeos/dbus/ |
H A D | fake_session_manager_client.cc | 100 const std::string& account_id, 104 base::Bind(callback, device_local_account_policy_[account_id])); 124 const std::string& account_id, 127 device_local_account_policy_[account_id] = policy_blob; 164 const std::string& account_id) const { 166 device_local_account_policy_.find(account_id); 172 const std::string& account_id, 174 device_local_account_policy_[account_id] = policy_blob; 99 RetrieveDeviceLocalAccountPolicy( const std::string& account_id, const RetrievePolicyCallback& callback) argument 123 StoreDeviceLocalAccountPolicy( const std::string& account_id, const std::string& policy_blob, const StorePolicyCallback& callback) argument 171 set_device_local_account_policy( const std::string& account_id, const std::string& policy_blob) argument
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | signin_status_metrics_provider.cc | 129 const std::string& account_id, 142 void SigninStatusMetricsProvider::GoogleSignedOut(const std::string& account_id, argument 128 GoogleSigninSucceeded( const std::string& account_id, const std::string& username, const std::string& password) argument
|
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | user_policy_signin_service.cc | 109 const std::string& account_id) { 118 if (account_id != signin_manager()->GetAuthenticatedAccountId()) 108 OnRefreshTokenAvailable( const std::string& account_id) argument
|