Searched defs:token_service (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/chrome/browser/chromeos/login/
H A Doauth_login_manager.cc10 #include "chrome/browser/signin/token_service.h"
29 TokenService* token_service = local
31 if (token_service->AreCredentialsValid())
32 token_service->StartFetchingTokens();
H A Doauth2_login_manager.cc16 #include "chrome/browser/signin/token_service.h"
92 TokenService* token_service = local
94 return token_service;
99 TokenService* token_service = SetupTokenService(); local
100 token_service->UpdateCredentialsWithOAuth2(oauth2_tokens);
107 TokenService* token_service = SetupTokenService(); local
108 token_service->Initialize(GaiaConstants::kChromeSource, user_profile_);
109 token_service->LoadTokensFromDB();
201 TokenService* token_service = SetupTokenService(); local
202 token_service
[all...]
/external/chromium/third_party/libjingle/source/talk/xmpp/
H A Dsaslcookiemechanism.h44 const std::string & token_service)
48 token_service_(token_service) {}
41 SaslCookieMechanism(const std::string & mechanism, const std::string & username, const std::string & cookie, const std::string & token_service) argument
H A Dxmppclientsettings.h50 void set_token_service(const std::string & token_service) { argument
51 token_service_ = token_service;
61 const std::string & token_service() const { return token_service_; } function in class:buzz::XmppUserSettings
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_token_forwarder_factory.cc39 ProfileOAuth2TokenService* token_service = local
41 if (!token_service || !manager)
43 return new UserCloudPolicyTokenForwarder(manager, token_service);
H A Duser_cloud_policy_token_forwarder.cc18 ProfileOAuth2TokenService* token_service)
20 token_service_(token_service) {
16 UserCloudPolicyTokenForwarder( UserCloudPolicyManagerChromeOS* manager, ProfileOAuth2TokenService* token_service) argument
H A Denrollment_handler_chromeos.cc163 chromeos::DeviceOAuth2TokenService* token_service = local
165 if (token_service && !robot_refresh_token_.empty()) {
166 token_service->SetAndSaveRefreshToken(robot_refresh_token_);
H A Duser_cloud_policy_manager_chromeos_unittest.cc33 #include "chrome/browser/signin/token_service.h"
168 ProfileOAuth2TokenService* token_service = local
170 ASSERT_TRUE(token_service);
172 new UserCloudPolicyTokenForwarder(manager_.get(), token_service));
503 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); local
504 ASSERT_TRUE(token_service);
506 EXPECT_FALSE(token_service->HasOAuthLoginToken());
507 token_service->UpdateCredentialsWithOAuth2(tokens);
508 EXPECT_TRUE(token_service->HasOAuthLoginToken());
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dsaslcookiemechanism.h44 const std::string & token_service)
48 token_service_(token_service) {}
41 SaslCookieMechanism(const std::string & mechanism, const std::string & username, const std::string & cookie, const std::string & token_service) argument
H A Dxmppclientsettings.h58 void set_token_service(const std::string& token_service) { argument
59 token_service_ = token_service;
71 const std::string& token_service() const { return token_service_; } function in class:buzz::XmppUserSettings
/external/chromium_org/chrome/browser/signin/
H A Dsignin_tracker.cc11 #include "chrome/browser/signin/token_service.h"
45 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); local
48 content::Source<TokenService>(token_service));
51 content::Source<TokenService>(token_service));
125 TokenService* token_service = TokenServiceFactory::GetForProfile(profile); local
127 if (!token_service->HasTokenForService(kSignedInServices[i])) {
H A Dubertoken_fetcher_unittest.cc56 MockOAuth2TokenService* token_service = new MockOAuth2TokenService(); local
57 token_service->Initialize(static_cast<Profile*>(profile));
58 return token_service;
H A Dsignin_manager_base.cc20 #include "chrome/browser/signin/token_service.h"
63 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); local
64 if (token_service)
65 token_service->Initialize(GaiaConstants::kChromeSource, profile_);
H A Dprofile_oauth2_token_service.cc16 #include "chrome/browser/signin/token_service.h"
107 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); local
108 if (!token_service || !token_service->HasOAuthLoginToken()) {
111 return token_service->GetOAuth2LoginRefreshToken();
208 TokenService *token_service,
210 if (!token_service ||
211 !token_service->HasOAuthLoginToken() ||
212 token_service->GetOAuth2LoginRefreshToken().compare(refresh_token) != 0) {
207 ShouldCacheForRefreshToken( TokenService *token_service, const std::string& refresh_token) argument
/external/chromium_org/chrome/browser/ui/
H A Dauto_login_prompter.cc34 ProfileOAuth2TokenService* token_service = local
36 if (!token_service || !token_service->RefreshTokenIsAvailable())
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_confirm_api_flow.cc23 OAuth2TokenService* token_service,
27 token_service_(token_service),
21 PrivetConfirmApiCallFlow( net::URLRequestContextGetter* request_context, OAuth2TokenService* token_service, const GURL& automated_claim_url, const ResponseCallback& callback) argument
/external/chromium_org/chrome/browser/ui/webui/
H A Dinline_login_ui.cc15 #include "chrome/browser/signin/token_service.h"
62 TokenService* token_service = variable
64 token_service->UpdateCredentialsWithOAuth2(oauth2_tokens);
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcloud_policy_client_registration_helper.cc53 void FetchAccessToken(AndroidProfileOAuth2TokenService* token_service,
72 AndroidProfileOAuth2TokenService* token_service,
82 token_service->StartRequestForUsername(username, scopes, this);
184 AndroidProfileOAuth2TokenService* token_service,
194 token_service,
71 FetchAccessToken( AndroidProfileOAuth2TokenService* token_service, const std::string& username, const StringCallback& callback) argument
183 StartRegistration( AndroidProfileOAuth2TokenService* token_service, const std::string& username, const base::Closure& callback) argument
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_startup_unittest.cc18 #include "chrome/browser/signin/token_service.h"
237 TokenService* token_service = static_cast<TokenService*>( local
267 token_service->LoadTokensFromDB();
329 TokenService* token_service = static_cast<TokenService*>( local
337 token_service->LoadTokensFromDB();
H A Dprofile_sync_service_unittest.cc14 #include "chrome/browser/signin/token_service.h"
143 TokenService* token_service = local
145 token_service->IssueAuthTokenForTest(
147 token_service->IssueAuthTokenForTest(
/external/chromium_org/jingle/notifier/base/
H A Dgaia_token_pre_xmpp_auth.cc24 const std::string & token_service)
26 mechanism, username, cookie, token_service) {}
54 const std::string& token_service,
58 token_service_(token_service),
21 GaiaCookieMechanism(const std::string & mechanism, const std::string & username, const std::string & cookie, const std::string & token_service) argument
51 GaiaTokenPreXmppAuth( const std::string& username, const std::string& token, const std::string& token_service, const std::string& auth_mechanism) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_webstore_private_browsertest.cc12 #include "chrome/browser/net/gaia/token_service.h"
93 TokenService* token_service = profile->GetTokenService(); local
94 token_service->IssueAuthTokenForTest(GaiaConstants::kGaiaService,
139 TokenService* token_service = browser()->profile()->GetTokenService(); local
140 token_service->ResetCredentialsInMemory();
143 token_service->IssueAuthTokenForTest(GaiaConstants::kGaiaService,
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dstartup_app_launcher.cc25 #include "chrome/browser/signin/token_service.h"
170 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); local
171 token_service->Initialize(GaiaConstants::kChromeSource, profile_);
178 token_service->UpdateCredentialsWithOAuth2(
185 token_service->LoadTokensFromDB();
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_oauth2_token_service.cc40 explicit ValidatingConsumer(DeviceOAuth2TokenService* token_service,
92 DeviceOAuth2TokenService* token_service,
94 : token_service_(token_service),
91 ValidatingConsumer( DeviceOAuth2TokenService* token_service, Consumer* consumer) argument
/external/chromium_org/chrome/browser/invalidation/
H A Dticl_invalidation_service.cc56 TokenService* token_service,
61 token_service_(token_service),
54 TiclInvalidationService( SigninManagerBase* signin, TokenService* token_service, OAuth2TokenService* oauth2_token_service, Profile* profile) argument

Completed in 1186 milliseconds

123