/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | oauth_login_manager.cc | 10 #include "chrome/browser/signin/token_service.h" 29 TokenService* token_service = local 31 if (token_service->AreCredentialsValid()) 32 token_service->StartFetchingTokens();
|
H A D | oauth2_login_manager.cc | 16 #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 D | saslcookiemechanism.h | 44 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 D | xmppclientsettings.h | 50 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 D | user_cloud_policy_token_forwarder_factory.cc | 39 ProfileOAuth2TokenService* token_service = local 41 if (!token_service || !manager) 43 return new UserCloudPolicyTokenForwarder(manager, token_service);
|
H A D | user_cloud_policy_token_forwarder.cc | 18 ProfileOAuth2TokenService* token_service) 20 token_service_(token_service) { 16 UserCloudPolicyTokenForwarder( UserCloudPolicyManagerChromeOS* manager, ProfileOAuth2TokenService* token_service) argument
|
H A D | enrollment_handler_chromeos.cc | 163 chromeos::DeviceOAuth2TokenService* token_service = local 165 if (token_service && !robot_refresh_token_.empty()) { 166 token_service->SetAndSaveRefreshToken(robot_refresh_token_);
|
H A D | user_cloud_policy_manager_chromeos_unittest.cc | 33 #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 D | saslcookiemechanism.h | 44 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 D | xmppclientsettings.h | 58 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 D | signin_tracker.cc | 11 #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 D | ubertoken_fetcher_unittest.cc | 56 MockOAuth2TokenService* token_service = new MockOAuth2TokenService(); local 57 token_service->Initialize(static_cast<Profile*>(profile)); 58 return token_service;
|
H A D | signin_manager_base.cc | 20 #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 D | profile_oauth2_token_service.cc | 16 #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 D | auto_login_prompter.cc | 34 ProfileOAuth2TokenService* token_service = local 36 if (!token_service || !token_service->RefreshTokenIsAvailable())
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | privet_confirm_api_flow.cc | 23 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 D | inline_login_ui.cc | 15 #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 D | cloud_policy_client_registration_helper.cc | 53 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 D | profile_sync_service_startup_unittest.cc | 18 #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 D | profile_sync_service_unittest.cc | 14 #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 D | gaia_token_pre_xmpp_auth.cc | 24 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 D | extension_webstore_private_browsertest.cc | 12 #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 D | startup_app_launcher.cc | 25 #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 D | device_oauth2_token_service.cc | 40 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 D | ticl_invalidation_service.cc | 56 TokenService* token_service, 61 token_service_(token_service), 54 TiclInvalidationService( SigninManagerBase* signin, TokenService* token_service, OAuth2TokenService* oauth2_token_service, Profile* profile) argument
|