Home
last modified time | relevance | path

Searched refs:account_id_ (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/google_apis/gaia/
Doauth2_token_service_unittest.cc29 account_id_(account_id) {} in RetryingTestingOAuth2TokenServiceConsumer()
36 account_id_, OAuth2TokenService::ScopeSet(), this).release()); in OnGetTokenFailure()
40 std::string account_id_; member in RetryingTestingOAuth2TokenServiceConsumer
100 account_id_ = "test_user@gmail.com"; in SetUp()
112 std::string account_id_; member in OAuth2TokenServiceTest
118 oauth2_service_->StartRequest(account_id_, OAuth2TokenService::ScopeSet(), in TEST_F()
127 oauth2_service_->set_refresh_token(account_id_, "refreshToken"); in TEST_F()
129 oauth2_service_->StartRequest(account_id_, in TEST_F()
147 oauth2_service_->set_refresh_token(account_id_, "refreshToken"); in TEST_F()
149 oauth2_service_->StartRequest(account_id_, in TEST_F()
[all …]
Dfake_identity_provider.cc17 account_id_ = account_id; in LogIn()
22 account_id_.clear(); in LogOut()
27 return account_id_; in GetActiveUsername()
31 return account_id_; in GetActiveAccountId()
Doauth2_token_service_request.cc188 std::string account_id_; member in __anond7ccf37a0111::RequestCore
209 account_id_(account_id), in RequestCore()
212 DCHECK(!account_id_.empty()); in RequestCore()
221 request_ = token_service()->StartRequest(account_id_, scopes_, this).Pass(); in StartOnTokenServiceThread()
289 std::string account_id_; member in __anond7ccf37a0111::InvalidateCore
304 account_id_(account_id), in InvalidateCore()
307 DCHECK(!account_id_.empty()); in InvalidateCore()
316 token_service()->InvalidateToken(account_id_, scopes_, access_token_); in StartOnTokenServiceThread()
358 return account_id_; in GetAccountId()
363 : account_id_(account_id) { in OAuth2TokenServiceRequest()
[all …]
Dubertoken_fetcher.cc39 account_id_ = account_id; in StartFetchingToken()
70 token_service_->InvalidateToken(account_id_, scopes, access_token_); in OnUberAuthTokenFailure()
108 token_service_->StartRequest(account_id_, scopes, this); in RequestAccessToken()
Doauth2_token_service.cc53 : account_id_(account_id), in RequestImpl()
62 return account_id_; in GetAccountId()
178 const std::string account_id_; member in OAuth2TokenService::Fetcher
231 account_id_(account_id), in Fetcher()
249 account_id_, getter_.get(), this)); in Start()
272 account_id_, in OnGetTokenSuccess()
365 return account_id_; in GetAccountId()
/external/chromium_org/components/signin/core/browser/
Daccount_service_flag_fetcher.cc17 account_id_(account_id), in AccountServiceFlagFetcher()
33 if (token_service_->RefreshTokenIsAvailable(account_id_)) { in Start()
44 if (account_id != account_id_) in OnRefreshTokenAvailable()
58 << "Did not get a refresh token for account " << account_id_; in OnRefreshTokensLoaded()
66 account_id_, scopes, this); in StartFetchingOAuth2AccessToken()
Dfake_auth_status_provider.cc18 return account_id_; in GetAccountId()
32 account_id_ = account_id; in SetAuthError()
Daccount_tracker_service_unittest.cc42 account_id_(account_id), in TrackingEvent()
48 account_id_(account_id), in TrackingEvent()
52 return type_ == event.type_ && account_id_ == event.account_id_ && in operator ==()
68 account_id_.c_str(), in ToString()
76 std::string account_id_; member in __anon70c7d1740111::TrackingEvent
81 return a.account_id_ < b.account_id_; in CompareByUser()
Daccount_tracker_service.cc36 const std::string& account_id() { return account_id_; } in account_id()
57 const std::string account_id_; member in AccountInfoFetcher
72 account_id_(account_id) { in AccountInfoFetcher()
87 account_id_, scopes, this); in Start()
125 account_id_); in OnGetUserInfoResponse()
Dmutable_profile_oauth2_token_service.cc88 account_id_(account_id), in AccountInfo()
92 DCHECK(!account_id_.empty()); in AccountInfo()
110 return account_id_; in GetAccountId()
117 return account_id_; in GetUsername()
/external/chromium_org/chrome/browser/services/gcm/
Dgcm_profile_service.cc68 std::string account_id_; member in gcm::GCMProfileService::IdentityObserver
96 if (account_id == account_id_) in OnActiveAccountLogin()
98 account_id_ = account_id; in OnActiveAccountLogin()
117 account_id_.clear(); in OnActiveAccountLogout()
130 return driver_->IsStarted() ? account_id_ : std::string(); in SignedInUserName()
/external/chromium_org/google_apis/drive/
Dauth_service.cc125 account_id_(account_id), in AuthService()
134 account_id_); in AuthService()
151 account_id_, in StartAuthentication()
214 if (account_id == account_id_) in OnRefreshTokenAvailable()
219 if (account_id == account_id_) in OnRefreshTokenRevoked()
/external/chromium_org/chrome/browser/local_discovery/
Dgcd_api_flow_unittest.cc49 account_id_(kAccountId) {} in GCDApiFlowTest()
56 token_service_.AddAccount(account_id_); in SetUp()
65 request_context_.get(), &token_service_, account_id_)); in SetUp()
73 std::string account_id_; member in local_discovery::__anon28da54e40111::GCDApiFlowTest
Dgcd_api_flow_impl.cc28 account_id_(account_id) { in GCDApiFlowImpl()
39 token_service_->StartRequest(account_id_, oauth_scopes, this); in Start()
/external/chromium_org/sync/internal_api/attachments/
Dattachment_uploader_impl.cc93 std::string account_id_; member in syncer::AttachmentUploaderImpl::UploadState
120 account_id_(account_id), in UploadState()
126 DCHECK(!account_id_.empty()); in UploadState()
167 token_service_provider_, account_id_, scopes_, access_token_); in OnURLFetchComplete()
232 token_service_provider_, account_id_, scopes_, this); in GetToken()
263 account_id_(account_id), in AttachmentUploaderImpl()
304 account_id_, in UploadAttachment()
Dattachment_downloader_impl.cc49 account_id_(account_id), in AttachmentDownloaderImpl()
148 account_id_, in OnURLFetchComplete()
186 token_service_provider_.get(), account_id_, oauth2_scopes_, this); in RequestAccessToken()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dinline_login_handler_chromeos.cc30 : web_ui_(web_ui), account_id_(account_id) {} in InlineLoginUIOAuth2Delegate()
46 token_service->UpdateCredentials(account_id_, oauth2_tokens.refresh_token); in OnOAuth2TokensAvailable()
56 std::string account_id_; member in chromeos::InlineLoginHandlerChromeOS::InlineLoginUIOAuth2Delegate
/external/chromium_org/chrome/browser/android/profiles/
Dprofile_downloader_android.cc30 account_id_(account_id), in AccountInfoRetriever()
35 profile_image_downloader_->StartForAccount(account_id_); in Start()
63 account_id_, in OnProfileDownloadSuccess()
83 const std::string account_id_; member in __anon484aae180111::AccountInfoRetriever
Dprofile_downloader_android.h24 const std::string& account_id_,
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_local_account_policy_store.cc30 account_id_(account_id), in DeviceLocalAccountPolicyStore()
40 account_id_, in Load()
106 account_id_, in StoreValidatedPolicy()
153 validator->ValidateUsername(account_id_, false); in Validate()
Ddevice_local_account_policy_store.h48 const std::string& account_id() const { return account_id_; } in account_id()
83 const std::string account_id_; variable
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_auth_provider.cc77 account_id_(account_id), in ProfileSyncAuthProvider()
98 token_service_->StartRequest(account_id_, oauth2_scope_, this); in RequestAccessToken()
129 token_service_->InvalidateToken(account_id_, oauth2_scope_, token); in InvalidateAccessToken()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_refresh_token_fetcher.cc99 std::string account_id_; member in __anon99553de30111::SupervisedUserRefreshTokenFetcherImpl
121 account_id_(account_id), in SupervisedUserRefreshTokenFetcherImpl()
144 account_id_, scopes, this); in StartFetching()
204 oauth2_token_service_->InvalidateToken(account_id_, in OnURLFetchComplete()
/external/chromium_org/components/signin/ios/browser/
Dprofile_oauth2_token_service_ios.mm80 std::string account_id_;
93 account_id_(account_id),
105 account_id_, client_id, client_secret, scopes_set,
136 account_id_(account_id), function
139 DCHECK(!account_id_.empty());
156 return account_id_;
162 return account_id_;
/external/chromium_org/chrome/browser/profiles/
Dprofile_downloader.cc240 account_id_ = in StartForAccount()
243 if (service->RefreshTokenIsAvailable(account_id_)) { in StartForAccount()
297 account_id_, scopes, this); in StartFetchingOAuth2AccessToken()
403 if (account_id != account_id_) in OnRefreshTokenAvailable()

12