Home
last modified time | relevance | path

Searched refs:oauth2_token_service_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/policy/cloud/
Duser_policy_signin_service.cc41 oauth2_token_service_(token_service) { in UserPolicySigninService()
45 DCHECK(!oauth2_token_service_->RefreshTokenIsAvailable( in UserPolicySigninService()
51 oauth2_token_service_->AddObserver(this); in UserPolicySigninService()
68 oauth2_token_service_->RemoveObserver(this); in Shutdown()
154 if (!oauth2_token_service_->RefreshTokenIsAvailable( in OnInitializationCompleted()
180 oauth2_token_service_, in RegisterCloudPolicyService()
Duser_policy_signin_service_mobile.cc60 oauth2_token_service_(token_service), in UserPolicySigninService()
114 oauth2_token_service_, in RegisterForPolicyInternal()
209 oauth2_token_service_, in RegisterCloudPolicyService()
Duser_policy_signin_service_mobile.h98 ProfileOAuth2TokenService* oauth2_token_service_; variable
Duser_policy_signin_service.h97 ProfileOAuth2TokenService* oauth2_token_service_; variable
/external/chromium_org/google_apis/drive/
Dauth_service.cc124 : oauth2_token_service_(oauth2_token_service), in AuthService()
132 oauth2_token_service_->AddObserver(this); in AuthService()
133 has_refresh_token_ = oauth2_token_service_->RefreshTokenIsAvailable( in AuthService()
138 oauth2_token_service_->RemoveObserver(this); in ~AuthService()
150 new AuthRequest(oauth2_token_service_, in StartAuthentication()
Dauth_service.h66 OAuth2TokenService* oauth2_token_service_; variable
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_refresh_token_fetcher_unittest.cc117 FakeProfileOAuth2TokenService oauth2_token_service_; member in SupervisedUserRefreshTokenFetcherTest
138 oauth2_token_service_.IssueRefreshToken(kOAuth2RefreshToken); in StartFetchingWithDeviceId()
140 &oauth2_token_service_, in StartFetchingWithDeviceId()
197 oauth2_token_service_.GetPendingRequests(); in MakeOAuth2TokenServiceRequestSucceed()
201 oauth2_token_service_.IssueTokenForScope(requests[0].scopes, in MakeOAuth2TokenServiceRequestSucceed()
210 oauth2_token_service_.GetPendingRequests(); in MakeOAuth2TokenServiceRequestFail()
212 oauth2_token_service_.IssueErrorForScope(requests[0].scopes, in MakeOAuth2TokenServiceRequestFail()
Dsupervised_user_refresh_token_fetcher.cc98 OAuth2TokenService* oauth2_token_service_; member in __anon99553de30111::SupervisedUserRefreshTokenFetcherImpl
120 oauth2_token_service_(oauth2_token_service), in SupervisedUserRefreshTokenFetcherImpl()
143 access_token_request_ = oauth2_token_service_->StartRequest( in StartFetching()
204 oauth2_token_service_->InvalidateToken(account_id_, in OnURLFetchComplete()
Dpermission_request_creator_apiary.cc64 oauth2_token_service_(oauth2_token_service), in PermissionRequestCreatorApiary()
104 request->access_token_request = oauth2_token_service_->StartRequest( in StartFetching()
179 oauth2_token_service_->InvalidateToken( in OnURLFetchComplete()
Dpermission_request_creator_apiary.h70 OAuth2TokenService* oauth2_token_service_; variable
/external/chromium_org/google_apis/gaia/
Doauth2_token_service.cc176 OAuth2TokenService* const oauth2_token_service_; member in OAuth2TokenService::Fetcher
229 : oauth2_token_service_(oauth2_token_service), in Fetcher()
237 DCHECK(oauth2_token_service_); in Fetcher()
248 fetcher_.reset(oauth2_token_service_->CreateAccessTokenFetcher( in Start()
271 oauth2_token_service_->RegisterCacheEntry(client_id_, in OnGetTokenSuccess()
332 oauth2_token_service_->OnFetchComplete(this); in InformWaitingRequestsAndDelete()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service.cc224 oauth2_token_service_(oauth2_token_service), in ProfileSyncService()
283 if (!oauth2_token_service_) in IsOAuthRefreshTokenAvailable()
286 return oauth2_token_service_->RefreshTokenIsAvailable( in IsOAuthRefreshTokenAvailable()
390 oauth2_token_service_->AddObserver(this); in RegisterAuthNotifications()
398 oauth2_token_service_->RemoveObserver(this); in UnregisterAuthNotifications()
2148 oauth2_token_service_->InvalidateToken( in RequestAccessToken()
2158 oauth2_token_service_->StartRequest(account_id, oauth2_scopes, this); in RequestAccessToken()
Dprofile_sync_service.h1101 ProfileOAuth2TokenService* const oauth2_token_service_; variable
/external/chromium_org/chrome/browser/drive/
Ddrive_api_service.h190 OAuth2TokenService* oauth2_token_service_; variable
Ddrive_api_service.cc180 : oauth2_token_service_(oauth2_token_service), in DriveAPIService()
209 new google_apis::AuthService(oauth2_token_service_, in Initialize()