Searched refs:token_service_ (Results 1 - 25 of 67) sorted by relevance

123

/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_identity_provider.cc13 : token_service_(token_service) {}
18 return token_service_->GetRobotAccountId();
22 return token_service_->GetRobotAccountId();
26 return token_service_;
H A Ddevice_identity_provider.h29 chromeos::DeviceOAuth2TokenService* token_service_; member in class:chromeos::DeviceIdentityProvider
/external/chromium_org/chrome/browser/signin/
H A Daccount_service_flag_fetcher_unittest.cc117 FakeProfileOAuth2TokenService token_service_; member in class:AccountServiceFlagFetcherTest
125 token_service_.UpdateCredentials(kAccountId, "refresh_token");
129 &token_service_,
136 EXPECT_EQ(1U, token_service_.GetPendingRequests().size());
138 token_service_.IssueAllTokensForAccount(
153 &token_service_,
160 EXPECT_EQ(0U, token_service_.GetPendingRequests().size());
162 token_service_.UpdateCredentials(kAccountId, "refresh_token");
166 EXPECT_EQ(1U, token_service_.GetPendingRequests().size());
168 token_service_
[all...]
H A Dprofile_identity_provider.cc18 token_service_(token_service),
36 return token_service_;
H A Dprofile_identity_provider.h40 ProfileOAuth2TokenService* const token_service_; member in class:ProfileIdentityProvider
/external/chromium_org/google_apis/gaia/
H A Dfake_identity_provider.cc10 : token_service_(token_service) {
35 return token_service_;
H A Dubertoken_fetcher.cc24 token_service_(token_service),
70 token_service_->InvalidateToken(account_id_, scopes, access_token_);
108 token_service_->StartRequest(account_id_, scopes, this);
H A Dfake_identity_provider.h33 OAuth2TokenService* token_service_; member in class:FakeIdentityProvider
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_token_forwarder.cc23 token_service_(token_service),
38 token_service_->RemoveObserver(this);
83 if (token_service_->RefreshTokenIsAvailable(
87 token_service_->AddObserver(this);
94 request_ = token_service_->StartRequest(
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dsaslcookiemechanism.h48 token_service_(token_service) {}
56 token_service_("") {}
64 if (!token_service_.empty()) {
65 el->AddAttr(QN_GOOGLE_AUTH_SERVICE, token_service_);
81 std::string token_service_; member in class:buzz::SaslCookieMechanism
/external/chromium_org/components/signin/core/browser/
H A Daccount_service_flag_fetcher.cc18 token_service_(token_service),
27 token_service_->RemoveObserver(this);
33 if (token_service_->RefreshTokenIsAvailable(account_id_)) {
37 token_service_->AddObserver(this);
47 token_service_->RemoveObserver(this);
53 token_service_->RemoveObserver(this);
65 oauth2_access_token_request_ = token_service_->StartRequest(
H A Dsignin_account_id_helper.cc40 ProfileOAuth2TokenService* token_service_; member in class:SigninAccountIdHelper::GaiaIdFetcher
57 token_service_(token_service),
68 login_token_request_ = token_service_->StartRequest(
111 token_service_(token_service),
114 DCHECK(token_service_);
119 token_service_->RefreshTokenIsAvailable(primary_email) &&
122 new GaiaIdFetcher(client_, token_service_, signin_manager_, this));
124 token_service_->AddObserver(this);
129 token_service_->RemoveObserver(this);
144 new GaiaIdFetcher(client_, token_service_, signin_manager
[all...]
H A Dsignin_tracker.cc17 : token_service_(token_service),
27 token_service_->RemoveObserver(this);
42 token_service_->AddObserver(this);
H A Dmutable_profile_oauth2_token_service.cc54 MutableProfileOAuth2TokenService* token_service_; member in class:MutableProfileOAuth2TokenService::RevokeServerRefreshToken
64 : token_service_(token_service),
66 token_service_->GetRequestContext()) {
77 token_service_->server_revokes_.erase(
78 std::find(token_service_->server_revokes_.begin(),
79 token_service_->server_revokes_.end(),
87 : token_service_(token_service),
91 DCHECK(token_service_);
93 token_service_->signin_error_controller()->AddProvider(this);
97 token_service_
[all...]
H A Dsignin_account_id_helper.h51 ProfileOAuth2TokenService* token_service_; member in class:SigninAccountIdHelper
H A Daccount_tracker_service.cc54 OAuth2TokenService* token_service_; member in class:AccountInfoFetcher
69 token_service_(token_service),
86 login_token_request_ = token_service_->StartRequest(
151 : token_service_(NULL),
165 DCHECK(!token_service_);
168 token_service_ = token_service;
171 token_service_->AddObserver(this);
179 token_service_->RemoveObserver(this);
328 new AccountInfoFetcher(token_service_,
439 std::vector<std::string> accounts = token_service_
[all...]
H A Dsignin_manager.cc67 token_service_(token_service),
86 if (token_service_ && !account_id.empty())
87 token_service_->LoadCredentials(account_id);
229 token_service_->RevokeAllCredentials();
262 new SigninAccountIdHelper(client_, token_service_, this));
353 token_service_, client_->GetURLRequestContext(), NULL));
358 token_service_->UpdateCredentials(GetAuthenticatedUsername(),
/external/chromium_org/chrome/browser/local_discovery/
H A Dgcd_api_flow_unittest.cc55 token_service_.set_request_context(request_context_.get());
56 token_service_.AddAccount(account_id_);
65 request_context_.get(), &token_service_, account_id_));
72 FakeOAuth2TokenService token_service_; member in class:local_discovery::__anon4162::GCDApiFlowTest
/external/chromium_org/chrome/browser/invalidation/
H A Dfake_invalidation_service.cc15 identity_provider_(&token_service_) {
17 token_service_.set_auto_post_fetch_response_on_message_loop(true);
H A Dticl_profile_settings_provider_unittest.cc40 FakeOAuth2TokenService token_service_; member in class:invalidation::TiclProfileSettingsProviderTest
57 scoped_ptr<IdentityProvider>(new FakeIdentityProvider(&token_service_)),
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_downloader_impl_unittest.cc112 OAuth2TokenService* token_service_; member in class:syncer::__anon10764::TokenServiceProvider
117 token_service_(token_service) {
118 DCHECK(token_service_);
131 return token_service_;
148 MockOAuth2TokenService* token_service() { return token_service_.get(); }
174 scoped_ptr<MockOAuth2TokenService> token_service_; member in class:syncer::AttachmentDownloaderImplTest
184 token_service_.reset(new MockOAuth2TokenService());
185 token_service_->AddAccount(kAccountId);
187 token_service_provider(new TokenServiceProvider(token_service_.get()));
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_auth_provider.cc76 token_service_(token_service),
98 token_service_->StartRequest(account_id_, oauth2_scope_, this);
129 token_service_->InvalidateToken(account_id_, oauth2_scope_, token);
H A Dstartup_controller_unittest.cc60 token_service_.reset(static_cast<FakeProfileOAuth2TokenService*>(
79 token_service_->Shutdown();
80 token_service_.reset();
94 return token_service_.get();
104 scoped_ptr<FakeProfileOAuth2TokenService> token_service_; member in class:browser_sync::StartupControllerTest
/external/chromium_org/components/invalidation/
H A Dticl_invalidation_service_unittest.cc67 scoped_ptr<IdentityProvider>(new FakeIdentityProvider(&token_service_)),
98 FakeOAuth2TokenService token_service_; member in class:invalidation::TiclInvalidationServiceTestDelegate
/external/chromium_org/jingle/notifier/base/
H A Dgaia_token_pre_xmpp_auth.cc58 token_service_(token_service),
114 mechanism, username_, token_, token_service_);

Completed in 398 milliseconds

123