/external/chromium_org/chrome/browser/signin/ |
H A D | token_service_factory.cc | 13 "TokenService", 21 TokenService* TokenServiceFactory::GetForProfile(Profile* profile) { 22 return static_cast<TokenService*>( 33 return new TokenService();
|
H A D | token_service_factory.h | 11 class TokenService; 16 // associated TokenService. 19 // Returns the instance of TokenService associated with this profile 21 // TokenService (for example, if |profile| is incognito). 22 static TokenService* GetForProfile(Profile* profile);
|
H A D | token_service_unittest.h | 29 const TokenService::TokenAvailableDetails& details() { 38 TokenService::TokenAvailableDetails details_; 46 const TokenService::TokenRequestFailedDetails& details() { 55 TokenService::TokenRequestFailedDetails details_; 68 TokenService* service() const { return service_; } 78 TokenService* service_;
|
H A D | token_service.cc | 50 TokenService::TokenService() function in class:TokenService 61 TokenService::~TokenService() { 64 void TokenService::Shutdown() { 72 void TokenService::Initialize(const char* const source, 106 void TokenService::AddAuthTokenManually(const std::string& service, 123 // iOS fetches the service tokens outside of the TokenService. 133 void TokenService::ResetCredentialsInMemory() { 152 void TokenService [all...] |
H A D | signin_tracker.cc | 45 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); 48 content::Source<TokenService>(token_service)); 51 content::Source<TokenService>(token_service)); 82 const TokenService::TokenRequestFailedDetails& token_details = 83 *(content::Details<const TokenService::TokenRequestFailedDetails>( 125 TokenService* token_service = TokenServiceFactory::GetForProfile(profile);
|
H A D | signin_tracker_unittest.cc | 36 class MockTokenService : public TokenService { 144 TokenService::TokenAvailableDetails available( 150 content::Source<TokenService>(mock_token_service_), 151 content::Details<const TokenService::TokenAvailableDetails>(&available)); 171 TokenService::TokenRequestFailedDetails failed( 175 content::Source<TokenService>(mock_token_service_), 176 content::Details<const TokenService::TokenRequestFailedDetails>(&failed));
|
H A D | android_profile_oauth2_token_service.h | 18 class TokenService;
|
H A D | token_service.h | 5 // The TokenService will supply authentication tokens for any service that 10 // the TokenService should be updated with new credentials. The controller 21 // Typically a user of the TokenService is expected just to call: 35 // There is currently no easy way to create a fake TokenService. Tests that want 36 // to use TokenService to issue tokens without the use of fake GaiaAuthFetchers 38 // creating a TokenService (skipping the Initialize() step to avoid interacting 40 // This will result in the TokenService sending out the appropriate 70 // The TokenService is a Profile member, so all calls are expected 72 class TokenService : public GaiaAuthConsumer, class in inherits:GaiaAuthConsumer,BrowserContextKeyedService,WebDataServiceConsumer 76 TokenService(); [all...] |
H A D | token_service_unittest.cc | 32 content::Details<const TokenService::TokenAvailableDetails> full = details; 46 content::Details<const TokenService::TokenRequestFailedDetails> full = 77 content::Source<TokenService>(service_)); 79 content::Source<TokenService>(service_)); 111 TokenService::TokenAvailableDetails details = success_tracker()->details(); 138 TokenService::TokenAvailableDetails details = success_tracker()->details(); 152 TokenService::TokenAvailableDetails details = success_tracker()->details(); 167 TokenService::TokenRequestFailedDetails details = 182 TokenService::TokenRequestFailedDetails details = 292 TokenService [all...] |
H A D | profile_oauth2_token_service.cc | 82 content::Source<TokenService> token_service_source( 107 TokenService* token_service = TokenServiceFactory::GetForProfile(profile_); 134 TokenService::TokenAvailableDetails* tok_details = 135 content::Details<TokenService::TokenAvailableDetails>(details).ptr(); 151 TokenService::TokenRequestFailedDetails* tok_details = 152 content::Details<TokenService::TokenRequestFailedDetails>(details) 208 TokenService *token_service, 214 "Received a token with a refresh token not maintained by TokenService.";
|
H A D | profile_oauth2_token_service.h | 24 class TokenService; 29 // refresh token maintained by TokenService. 34 // even if the TokenService refresh token that was used to initiate 47 // content::NotificationObserver listening for TokenService updates. 64 // Takes injected TokenService for testing. 65 bool ShouldCacheForRefreshToken(TokenService *token_service, 101 // Overridden to not cache tokens if the TokenService refresh token 156 // Registrar for notifications from the TokenService.
|
/external/chromium/chrome/browser/net/gaia/ |
H A D | token_service.cc | 20 const char* TokenService::kServices[] = { 27 TokenService::TokenService() function in class:TokenService 32 TokenService::~TokenService() { 37 void TokenService::Initialize(const char* const source, 73 void TokenService::ResetCredentialsInMemory() { 91 void TokenService::UpdateCredentials( 102 void TokenService::LoadTokensFromDB() { 107 void TokenService [all...] |
H A D | token_service_unittest.h | 30 const TokenService::TokenAvailableDetails& details() { 39 TokenService::TokenAvailableDetails details_; 47 const TokenService::TokenRequestFailedDetails& details() { 56 TokenService::TokenRequestFailedDetails details_; 74 TokenService service_;
|
H A D | token_service.h | 5 // The TokenService will supply authentication tokens for any service that 8 // LSID. Whenever such credentials are available, the TokenService should be 20 // Typically a user of the TokenService is expected just to call: 56 // The TokenService is a Profile member, so all calls are expected 58 class TokenService : public GaiaAuthConsumer, class in inherits:GaiaAuthConsumer,WebDataServiceConsumer,NotificationObserver 62 TokenService(); 63 virtual ~TokenService(); 103 // Terminate any running requests and reset the TokenService to a clean 193 DISALLOW_COPY_AND_ASSIGN(TokenService);
|
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | oauth_login_manager.cc | 29 TokenService* token_service =
|
H A D | oauth2_login_manager.h | 19 class TokenService; 69 // Retrieves TokenService for |user_profile_| and sets up notification 71 TokenService* SetupTokenService(); 74 // TokenService. 103 // by TokenService.
|
H A D | oauth2_login_manager.cc | 91 TokenService* OAuth2LoginManager::SetupTokenService() { 92 TokenService* token_service = 99 TokenService* token_service = SetupTokenService(); 106 // If we have no cookies, try to load saved OAuth2 token from TokenService. 107 TokenService* token_service = SetupTokenService(); 201 TokenService* token_service = SetupTokenService();
|
/external/chromium_org/chrome/browser/invalidation/ |
H A D | invalidation_service_factory.cc | 23 class TokenService; 94 TokenService* token_service = TokenServiceFactory::GetForProfile(profile);
|
H A D | ticl_invalidation_service.h | 41 TokenService* token_service, 105 TokenService *const token_service_;
|
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | user_policy_signin_service.cc | 38 content::Source<TokenService>( 41 // TokenService should not yet have loaded its tokens since this happens in 115 const TokenService::TokenAvailableDetails& token_details = 116 *(content::Details<const TokenService::TokenAvailableDetails>( 125 // TokenService now has a refresh token (implying that the user is
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_webstore_private_api.cc | 84 TokenService* token_service = profile->GetTokenService(); 502 TokenService* token_service = profile->GetTokenService(); 505 Source<TokenService>(token_service)); 508 Source<TokenService>(token_service)); 565 TokenService::TokenAvailableDetails* available = 566 Details<TokenService::TokenAvailableDetails>(details).ptr(); 569 TokenService::TokenRequestFailedDetails* failed = 570 Details<TokenService::TokenRequestFailedDetails>(details).ptr();
|
/external/chromium/chrome/browser/policy/ |
H A D | browser_policy_connector.h | 18 class TokenService;
|
H A D | device_policy_identity_strategy.h | 14 class TokenService;
|
H A D | user_policy_identity_strategy.cc | 141 Source<TokenService>(profile->GetTokenService())); 239 if (Source<TokenService>(source).ptr() == profile_->GetTokenService()) { 240 const TokenService::TokenAvailableDetails* token_details = 241 Details<const TokenService::TokenAvailableDetails>(details).ptr();
|
/external/chromium/chrome/browser/sync/ |
H A D | abstract_profile_sync_service_test.h | 51 TokenService token_service_;
|