OAuth2TokenService 31 chrome/android/java/src/org/chromium/chrome/browser/signin/AndroidProfileOAuth2TokenServiceHelper.java OAuth2TokenService.getOAuth2AccessToken(context, activity, account, scope, callback); OAuth2TokenService 39 chrome/android/java/src/org/chromium/chrome/browser/signin/AndroidProfileOAuth2TokenServiceHelper.java OAuth2TokenService.invalidateOAuth2AuthToken(context, accessToken); OAuth2TokenService 49 chrome/android/java/src/org/chromium/chrome/browser/signin/AndroidProfileOAuth2TokenServiceHelper.java return OAuth2TokenService.getOAuth2AccessTokenWithTimeout( OAuth2TokenService 52 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java public static OAuth2TokenService getForProfile(Profile profile) { OAuth2TokenService 54 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java return (OAuth2TokenService) nativeGetForProfile(profile); OAuth2TokenService 58 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java private static OAuth2TokenService create(long nativeOAuth2Service) { OAuth2TokenService 60 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java return new OAuth2TokenService(nativeOAuth2Service); OAuth2TokenService 40 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java private OAuth2TokenService mOAuth2TokenService; OAuth2TokenService 71 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java private static OAuth2TokenService getOAuth2TokenServiceOnUiThread() { OAuth2TokenService 72 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java final AtomicReference<OAuth2TokenService> service = OAuth2TokenService 73 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java new AtomicReference<OAuth2TokenService>(); OAuth2TokenService 77 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java service.set(OAuth2TokenService.getForProfile(Profile.getLastUsedProfile())); OAuth2TokenService 237 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceIntegrationTest.java private static class TestObserver implements OAuth2TokenService.OAuth2TokenServiceObserver { OAuth2TokenService 38 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceTest.java String[] accounts = OAuth2TokenService.getAccounts(mContext); OAuth2TokenService 49 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceTest.java String[] accounts = OAuth2TokenService.getAccounts(mContext); OAuth2TokenService 64 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceTest.java String[] accounts = OAuth2TokenService.getAccounts(mContext); OAuth2TokenService 102 chrome/android/javatests/src/org/chromium/chrome/browser/signin/OAuth2TokenServiceTest.java OAuth2TokenService.getOAuth2AccessTokenWithTimeout( OAuth2TokenService 17 chrome/android/shell/java/src/org/chromium/chrome/shell/signin/AccountsChangedReceiver.java import org.chromium.chrome.browser.signin.OAuth2TokenService; OAuth2TokenService 37 chrome/android/shell/java/src/org/chromium/chrome/shell/signin/AccountsChangedReceiver.java OAuth2TokenService.getForProfile(Profile.getLastUsedProfile()) OAuth2TokenService 36 chrome/browser/chromeos/app_mode/startup_app_launcher.h public OAuth2TokenService::Observer { OAuth2TokenService 32 chrome/browser/chromeos/login/oauth2_login_manager.h public OAuth2TokenService::Observer { OAuth2TokenService 54 chrome/browser/chromeos/login/oauth2_login_verifier.cc : OAuth2TokenService::Consumer("cros_login_verifier"), OAuth2TokenService 103 chrome/browser/chromeos/login/oauth2_login_verifier.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 196 chrome/browser/chromeos/login/oauth2_login_verifier.cc const OAuth2TokenService::Request* request, OAuth2TokenService 209 chrome/browser/chromeos/login/oauth2_login_verifier.cc const OAuth2TokenService::Request* request, OAuth2TokenService 28 chrome/browser/chromeos/login/oauth2_login_verifier.h public OAuth2TokenService::Consumer { OAuth2TokenService 80 chrome/browser/chromeos/login/oauth2_login_verifier.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 83 chrome/browser/chromeos/login/oauth2_login_verifier.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 118 chrome/browser/chromeos/login/oauth2_login_verifier.h scoped_ptr<OAuth2TokenService::Request> login_token_request_; OAuth2TokenService 230 chrome/browser/chromeos/login/user_image_manager_browsertest.cc static_cast<OAuth2TokenService::Consumer*>(profile_downloader)-> OAuth2TokenService 257 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 21 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc : OAuth2TokenService::Consumer("policy_token_forwarder"), OAuth2TokenService 48 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc const OAuth2TokenService::Request* request, OAuth2TokenService 57 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc const OAuth2TokenService::Request* request, OAuth2TokenService 91 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 26 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h public OAuth2TokenService::Observer, OAuth2TokenService 27 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h public OAuth2TokenService::Consumer, OAuth2TokenService 45 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 48 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 62 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h scoped_ptr<OAuth2TokenService::Request> request_; OAuth2TokenService 197 chrome/browser/chromeos/settings/device_oauth2_token_service.cc OAuth2TokenService::FetchOAuth2Token( OAuth2TokenService 351 chrome/browser/chromeos/settings/device_oauth2_token_service.cc OAuth2TokenService::FetchOAuth2Token( OAuth2TokenService 45 chrome/browser/chromeos/settings/device_oauth2_token_service.h class DeviceOAuth2TokenService : public OAuth2TokenService, OAuth2TokenService 69 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> StartTokenRequest() { OAuth2TokenService 274 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 285 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 302 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 317 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 326 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 339 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 352 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 365 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 378 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 391 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 403 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 417 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request = StartTokenRequest(); OAuth2TokenService 284 chrome/browser/drive/drive_api_service.cc OAuth2TokenService* oauth2_token_service, OAuth2TokenService 20 chrome/browser/drive/drive_api_service.h class OAuth2TokenService; OAuth2TokenService 55 chrome/browser/drive/drive_api_service.h OAuth2TokenService* oauth2_token_service, OAuth2TokenService 195 chrome/browser/drive/drive_api_service.h OAuth2TokenService* oauth2_token_service_; OAuth2TokenService 227 chrome/browser/extensions/api/identity/account_tracker.cc : OAuth2TokenService::Consumer("extensions_account_tracker"), OAuth2TokenService 238 chrome/browser/extensions/api/identity/account_tracker.cc account_key_, OAuth2TokenService::ScopeSet(), this); OAuth2TokenService 242 chrome/browser/extensions/api/identity/account_tracker.cc const OAuth2TokenService::Request* request, OAuth2TokenService 255 chrome/browser/extensions/api/identity/account_tracker.cc const OAuth2TokenService::Request* request, OAuth2TokenService 39 chrome/browser/extensions/api/identity/account_tracker.h class AccountTracker : public OAuth2TokenService::Observer, OAuth2TokenService 107 chrome/browser/extensions/api/identity/account_tracker.h class AccountIdFetcher : public OAuth2TokenService::Consumer, OAuth2TokenService 120 chrome/browser/extensions/api/identity/account_tracker.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 123 chrome/browser/extensions/api/identity/account_tracker.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 136 chrome/browser/extensions/api/identity/account_tracker.h scoped_ptr<OAuth2TokenService::Request> login_token_request_; OAuth2TokenService 229 chrome/browser/extensions/api/identity/identity_api.cc : OAuth2TokenService::Consumer("extensions_identity_api"), OAuth2TokenService 552 chrome/browser/extensions/api/identity/identity_api.cc const OAuth2TokenService::Request* request, OAuth2TokenService 560 chrome/browser/extensions/api/identity/identity_api.cc const OAuth2TokenService::Request* request, OAuth2TokenService 583 chrome/browser/extensions/api/identity/identity_api.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 606 chrome/browser/extensions/api/identity/identity_api.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 613 chrome/browser/extensions/api/identity/identity_api.cc primary_account_id, OAuth2TokenService::ScopeSet(), this); OAuth2TokenService 166 chrome/browser/extensions/api/identity/identity_api.h public OAuth2TokenService::Consumer, OAuth2TokenService 223 chrome/browser/extensions/api/identity/identity_api.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 226 chrome/browser/extensions/api/identity/identity_api.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 273 chrome/browser/extensions/api/identity/identity_api.h scoped_ptr<OAuth2TokenService::Request> login_token_request_; OAuth2TokenService 21 chrome/browser/extensions/api/identity/identity_signin_flow.h class IdentitySigninFlow : public OAuth2TokenService::Observer { OAuth2TokenService 89 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc : OAuth2TokenService::Consumer("push_messaging"), OAuth2TokenService 144 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc OAuth2TokenService::ScopeSet scopes(scope_vector.begin(), scope_vector.end()); OAuth2TokenService 162 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc const OAuth2TokenService::Request* request, OAuth2TokenService 172 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc const OAuth2TokenService::Request* request, OAuth2TokenService 60 chrome/browser/extensions/api/push_messaging/push_messaging_api.h public OAuth2TokenService::Observer, OAuth2TokenService 61 chrome/browser/extensions/api/push_messaging/push_messaging_api.h public OAuth2TokenService::Consumer { OAuth2TokenService 91 chrome/browser/extensions/api/push_messaging/push_messaging_api.h const OAuth2TokenService::Request* request, OAuth2TokenService 95 chrome/browser/extensions/api/push_messaging/push_messaging_api.h const OAuth2TokenService::Request* request, OAuth2TokenService 106 chrome/browser/extensions/api/push_messaging/push_messaging_api.h scoped_ptr<OAuth2TokenService::Request> fetcher_access_token_request_; OAuth2TokenService 539 chrome/browser/extensions/extension_install_prompt.cc : OAuth2TokenService::Consumer("extensions_install"), OAuth2TokenService 555 chrome/browser/extensions/extension_install_prompt.cc : OAuth2TokenService::Consumer("extensions_install"), OAuth2TokenService 762 chrome/browser/extensions/extension_install_prompt.cc const OAuth2TokenService::Request* request, OAuth2TokenService 784 chrome/browser/extensions/extension_install_prompt.cc const OAuth2TokenService::Request* request, OAuth2TokenService 52 chrome/browser/extensions/extension_install_prompt.h public OAuth2TokenService::Consumer, OAuth2TokenService 394 chrome/browser/extensions/extension_install_prompt.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 397 chrome/browser/extensions/extension_install_prompt.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 436 chrome/browser/extensions/extension_install_prompt.h scoped_ptr<OAuth2TokenService::Request> login_token_request_; OAuth2TokenService 49 chrome/browser/history/web_history_service.cc private OAuth2TokenService::Consumer, OAuth2TokenService 72 chrome/browser/history/web_history_service.cc : OAuth2TokenService::Consumer("web_history"), OAuth2TokenService 83 chrome/browser/history/web_history_service.cc OAuth2TokenService::ScopeSet oauth_scopes; OAuth2TokenService 107 chrome/browser/history/web_history_service.cc OAuth2TokenService::ScopeSet oauth_scopes; OAuth2TokenService 132 chrome/browser/history/web_history_service.cc const OAuth2TokenService::Request* request, OAuth2TokenService 147 chrome/browser/history/web_history_service.cc const OAuth2TokenService::Request* request, OAuth2TokenService 190 chrome/browser/history/web_history_service.cc scoped_ptr<OAuth2TokenService::Request> token_request_; OAuth2TokenService 21 chrome/browser/invalidation/device_invalidation_auth_provider_chromeos.cc OAuth2TokenService* DeviceInvalidationAuthProvider::GetTokenService() { OAuth2TokenService 26 chrome/browser/invalidation/device_invalidation_auth_provider_chromeos.h virtual OAuth2TokenService* GetTokenService() OVERRIDE; OAuth2TokenService 19 chrome/browser/invalidation/fake_invalidation_service.cc OAuth2TokenService* FakeInvalidationAuthProvider::GetTokenService() { OAuth2TokenService 38 chrome/browser/invalidation/fake_invalidation_service.h virtual OAuth2TokenService* GetTokenService() OVERRIDE; OAuth2TokenService 153 chrome/browser/invalidation/gcm_invalidation_bridge.cc : OAuth2TokenService::Consumer("gcm_network_channel"), OAuth2TokenService 196 chrome/browser/invalidation/gcm_invalidation_bridge.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 203 chrome/browser/invalidation/gcm_invalidation_bridge.cc const OAuth2TokenService::Request* request, OAuth2TokenService 220 chrome/browser/invalidation/gcm_invalidation_bridge.cc const OAuth2TokenService::Request* request, OAuth2TokenService 237 chrome/browser/invalidation/gcm_invalidation_bridge.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 35 chrome/browser/invalidation/gcm_invalidation_bridge.h public OAuth2TokenService::Consumer, OAuth2TokenService 45 chrome/browser/invalidation/gcm_invalidation_bridge.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 48 chrome/browser/invalidation/gcm_invalidation_bridge.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 90 chrome/browser/invalidation/gcm_invalidation_bridge.h scoped_ptr<OAuth2TokenService::Request> access_token_request_; OAuth2TokenService 56 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc virtual OAuth2TokenService* GetTokenService() OVERRIDE { OAuth2TokenService 63 chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc OAuth2TokenService* token_service_; OAuth2TokenService 13 chrome/browser/invalidation/invalidation_auth_provider.h class OAuth2TokenService; OAuth2TokenService 33 chrome/browser/invalidation/invalidation_auth_provider.h virtual OAuth2TokenService* GetTokenService() = 0; OAuth2TokenService 30 chrome/browser/invalidation/profile_invalidation_auth_provider.cc OAuth2TokenService* ProfileInvalidationAuthProvider::GetTokenService() { OAuth2TokenService 29 chrome/browser/invalidation/profile_invalidation_auth_provider.h virtual OAuth2TokenService* GetTokenService() OVERRIDE; OAuth2TokenService 66 chrome/browser/invalidation/ticl_invalidation_service.cc : OAuth2TokenService::Consumer("ticl_invalidation"), OAuth2TokenService 197 chrome/browser/invalidation/ticl_invalidation_service.cc OAuth2TokenService::ScopeSet oauth2_scopes; OAuth2TokenService 203 chrome/browser/invalidation/ticl_invalidation_service.cc OAuth2TokenService* token_service = auth_provider_->GetTokenService(); OAuth2TokenService 211 chrome/browser/invalidation/ticl_invalidation_service.cc const OAuth2TokenService::Request* request, OAuth2TokenService 227 chrome/browser/invalidation/ticl_invalidation_service.cc const OAuth2TokenService::Request* request, OAuth2TokenService 343 chrome/browser/invalidation/ticl_invalidation_service.cc OAuth2TokenService* token_service = auth_provider_->GetTokenService(); OAuth2TokenService 38 chrome/browser/invalidation/ticl_invalidation_service.h public OAuth2TokenService::Consumer, OAuth2TokenService 39 chrome/browser/invalidation/ticl_invalidation_service.h public OAuth2TokenService::Observer, OAuth2TokenService 78 chrome/browser/invalidation/ticl_invalidation_service.h const OAuth2TokenService::Request* request, OAuth2TokenService 82 chrome/browser/invalidation/ticl_invalidation_service.h const OAuth2TokenService::Request* request, OAuth2TokenService 131 chrome/browser/invalidation/ticl_invalidation_service.h scoped_ptr<OAuth2TokenService::Request> access_token_request_; OAuth2TokenService 27 chrome/browser/local_discovery/cloud_print_base_api_flow.cc OAuth2TokenService* token_service, OAuth2TokenService 31 chrome/browser/local_discovery/cloud_print_base_api_flow.cc : OAuth2TokenService::Consumer("cloud_print"), OAuth2TokenService 46 chrome/browser/local_discovery/cloud_print_base_api_flow.cc : OAuth2TokenService::Consumer("cloud_print"), OAuth2TokenService 61 chrome/browser/local_discovery/cloud_print_base_api_flow.cc : OAuth2TokenService::Consumer("cloud_print"), OAuth2TokenService 75 chrome/browser/local_discovery/cloud_print_base_api_flow.cc OAuth2TokenService::ScopeSet oauth_scopes; OAuth2TokenService 102 chrome/browser/local_discovery/cloud_print_base_api_flow.cc const OAuth2TokenService::Request* request, OAuth2TokenService 117 chrome/browser/local_discovery/cloud_print_base_api_flow.cc const OAuth2TokenService::Request* request, OAuth2TokenService 21 chrome/browser/local_discovery/cloud_print_base_api_flow.h public OAuth2TokenService::Consumer { OAuth2TokenService 46 chrome/browser/local_discovery/cloud_print_base_api_flow.h OAuth2TokenService* token_service_, OAuth2TokenService 75 chrome/browser/local_discovery/cloud_print_base_api_flow.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 78 chrome/browser/local_discovery/cloud_print_base_api_flow.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 90 chrome/browser/local_discovery/cloud_print_base_api_flow.h scoped_ptr<OAuth2TokenService::Request> oauth_request_; OAuth2TokenService 92 chrome/browser/local_discovery/cloud_print_base_api_flow.h OAuth2TokenService* token_service_; OAuth2TokenService 20 chrome/browser/local_discovery/cloud_print_printer_list.cc OAuth2TokenService* token_service, OAuth2TokenService 41 chrome/browser/local_discovery/cloud_print_printer_list.h OAuth2TokenService* token_service, OAuth2TokenService 14 chrome/browser/local_discovery/privet_confirm_api_flow.cc OAuth2TokenService* token_service, OAuth2TokenService 24 chrome/browser/local_discovery/privet_confirm_api_flow.h OAuth2TokenService* token_service_, OAuth2TokenService 50 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc public OAuth2TokenService::Consumer, OAuth2TokenService 54 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc ManagedUserRefreshTokenFetcherImpl(OAuth2TokenService* oauth2_token_service, OAuth2TokenService 66 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 69 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 92 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc OAuth2TokenService* oauth2_token_service_; OAuth2TokenService 100 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc scoped_ptr<OAuth2TokenService::Request> access_token_request_; OAuth2TokenService 108 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc OAuth2TokenService* oauth2_token_service, OAuth2TokenService 111 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc : OAuth2TokenService::Consumer("managed_user"), OAuth2TokenService 131 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 138 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc const OAuth2TokenService::Request* request, OAuth2TokenService 171 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc const OAuth2TokenService::Request* request, OAuth2TokenService 190 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 274 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.cc ManagedUserRefreshTokenFetcher::Create(OAuth2TokenService* oauth2_token_service, OAuth2TokenService 16 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.h class OAuth2TokenService; OAuth2TokenService 39 chrome/browser/managed_mode/managed_user_refresh_token_fetcher.h OAuth2TokenService* oauth2_token_service, OAuth2TokenService 31 chrome/browser/policy/cloud/user_policy_signin_service.h public OAuth2TokenService::Observer { OAuth2TokenService 213 chrome/browser/profiles/profile_downloader.cc : OAuth2TokenService::Consumer("profile_downloader"), OAuth2TokenService 292 chrome/browser/profiles/profile_downloader.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 413 chrome/browser/profiles/profile_downloader.cc const OAuth2TokenService::Request* request, OAuth2TokenService 424 chrome/browser/profiles/profile_downloader.cc const OAuth2TokenService::Request* request, OAuth2TokenService 31 chrome/browser/profiles/profile_downloader.h public OAuth2TokenService::Observer, OAuth2TokenService 32 chrome/browser/profiles/profile_downloader.h public OAuth2TokenService::Consumer { OAuth2TokenService 95 chrome/browser/profiles/profile_downloader.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 98 chrome/browser/profiles/profile_downloader.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 128 chrome/browser/profiles/profile_downloader.h scoped_ptr<OAuth2TokenService::Request> oauth2_access_token_request_; OAuth2TokenService 26 chrome/browser/signin/android_profile_oauth2_token_service.cc std::string CombineScopes(const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 30 chrome/browser/signin/android_profile_oauth2_token_service.cc for (OAuth2TokenService::ScopeSet::const_iterator it = scopes.begin(); OAuth2TokenService 107 chrome/browser/signin/android_profile_oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 147 chrome/browser/signin/android_profile_oauth2_token_service.cc OAuth2TokenService::InvalidateOAuth2Token(account_id, OAuth2TokenService 211 chrome/browser/signin/android_profile_oauth2_token_service.cc OAuth2TokenService::FireRefreshTokenAvailable(account_id); OAuth2TokenService 231 chrome/browser/signin/android_profile_oauth2_token_service.cc OAuth2TokenService::FireRefreshTokenRevoked(account_id); OAuth2TokenService 248 chrome/browser/signin/android_profile_oauth2_token_service.cc OAuth2TokenService::FireRefreshTokensLoaded(); OAuth2TokenService 23 chrome/browser/signin/profile_oauth2_token_service_request.cc public OAuth2TokenService::Consumer { OAuth2TokenService 33 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::ScopeSet& scopes); OAuth2TokenService 38 chrome/browser/signin/profile_oauth2_token_service_request.cc OAuth2TokenService::Request* request(); OAuth2TokenService 41 chrome/browser/signin/profile_oauth2_token_service_request.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 44 chrome/browser/signin/profile_oauth2_token_service_request.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 58 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::ScopeSet& scopes); OAuth2TokenService 80 chrome/browser/signin/profile_oauth2_token_service_request.cc scoped_ptr<OAuth2TokenService::Request> request_; OAuth2TokenService 88 chrome/browser/signin/profile_oauth2_token_service_request.cc : OAuth2TokenService::Consumer("oauth2_token_service"), OAuth2TokenService 101 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 132 chrome/browser/signin/profile_oauth2_token_service_request.cc OAuth2TokenService::Request* ProfileOAuth2TokenServiceRequest::Core::request() { OAuth2TokenService 143 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 160 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::Request* request, OAuth2TokenService 174 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::Request* request, OAuth2TokenService 207 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 208 chrome/browser/signin/profile_oauth2_token_service_request.cc OAuth2TokenService::Consumer* consumer) { OAuth2TokenService 216 chrome/browser/signin/profile_oauth2_token_service_request.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 217 chrome/browser/signin/profile_oauth2_token_service_request.cc OAuth2TokenService::Consumer* consumer) OAuth2TokenService 24 chrome/browser/signin/profile_oauth2_token_service_request.h class ProfileOAuth2TokenServiceRequest : public OAuth2TokenService::Request, OAuth2TokenService 32 chrome/browser/signin/profile_oauth2_token_service_request.h const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 33 chrome/browser/signin/profile_oauth2_token_service_request.h OAuth2TokenService::Consumer* consumer); OAuth2TokenService 46 chrome/browser/signin/profile_oauth2_token_service_request.h const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 47 chrome/browser/signin/profile_oauth2_token_service_request.h OAuth2TokenService::Consumer* consumer); OAuth2TokenService 49 chrome/browser/signin/profile_oauth2_token_service_request.h OAuth2TokenService::Consumer* const consumer_; OAuth2TokenService 25 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc class TestingOAuth2TokenServiceConsumer : public OAuth2TokenService::Consumer { OAuth2TokenService 30 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 33 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 43 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc : OAuth2TokenService::Consumer("test"), OAuth2TokenService 53 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc const OAuth2TokenService::Request* request, OAuth2TokenService 61 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc const OAuth2TokenService::Request* request, OAuth2TokenService 100 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 115 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 132 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 149 chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 170 chrome/browser/sync/profile_sync_service.cc : OAuth2TokenService::Consumer("sync"), OAuth2TokenService 615 chrome/browser/sync/profile_sync_service.cc const OAuth2TokenService::Request* request, OAuth2TokenService 638 chrome/browser/sync/profile_sync_service.cc const OAuth2TokenService::Request* request, OAuth2TokenService 1977 chrome/browser/sync/profile_sync_service.cc OAuth2TokenService::ScopeSet oauth2_scopes; OAuth2TokenService 175 chrome/browser/sync/profile_sync_service.h public OAuth2TokenService::Consumer, OAuth2TokenService 176 chrome/browser/sync/profile_sync_service.h public OAuth2TokenService::Observer, OAuth2TokenService 697 chrome/browser/sync/profile_sync_service.h const OAuth2TokenService::Request* request, OAuth2TokenService 701 chrome/browser/sync/profile_sync_service.h const OAuth2TokenService::Request* request, OAuth2TokenService 1006 chrome/browser/sync/profile_sync_service.h scoped_ptr<OAuth2TokenService::Request> access_token_request_; OAuth2TokenService 47 chrome/browser/ui/app_list/search/people/people_provider.cc OAuth2TokenService::Consumer("people_provider"), OAuth2TokenService 100 chrome/browser/ui/app_list/search/people/people_provider.cc const OAuth2TokenService::Request* request, OAuth2TokenService 110 chrome/browser/ui/app_list/search/people/people_provider.cc const OAuth2TokenService::Request* request, OAuth2TokenService 34 chrome/browser/ui/app_list/search/people/people_provider.h public OAuth2TokenService::Consumer { OAuth2TokenService 45 chrome/browser/ui/app_list/search/people/people_provider.h const OAuth2TokenService::Request* request, OAuth2TokenService 49 chrome/browser/ui/app_list/search/people/people_provider.h const OAuth2TokenService::Request* request, OAuth2TokenService 81 chrome/browser/ui/app_list/search/people/people_provider.h scoped_ptr<OAuth2TokenService::Request> access_token_request_; OAuth2TokenService 82 chrome/browser/ui/app_list/search/people/people_provider.h OAuth2TokenService::ScopeSet oauth2_scope_; OAuth2TokenService 46 chrome/browser/ui/views/profile_chooser_view.h public OAuth2TokenService::Observer { OAuth2TokenService 401 chrome/browser/ui/webui/print_preview/print_preview_handler.cc : public OAuth2TokenService::Consumer { OAuth2TokenService 404 chrome/browser/ui/webui/print_preview/print_preview_handler.cc : OAuth2TokenService::Consumer("print_preview"), OAuth2TokenService 412 chrome/browser/ui/webui/print_preview/print_preview_handler.cc OAuth2TokenService* service = NULL; OAuth2TokenService 434 chrome/browser/ui/webui/print_preview/print_preview_handler.cc OAuth2TokenService::ScopeSet oauth_scopes; OAuth2TokenService 436 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 444 chrome/browser/ui/webui/print_preview/print_preview_handler.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 450 chrome/browser/ui/webui/print_preview/print_preview_handler.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 456 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void OnServiceResponce(const OAuth2TokenService::Request* request, OAuth2TokenService 469 chrome/browser/ui/webui/print_preview/print_preview_handler.cc linked_ptr<OAuth2TokenService::Request> > Requests; OAuth2TokenService 42 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc : public OAuth2TokenService::Consumer { OAuth2TokenService 47 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc OAuth2TokenService* token_service, OAuth2TokenService 53 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 56 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 60 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc scoped_ptr<OAuth2TokenService::Request> token_request_; OAuth2TokenService 64 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc : OAuth2TokenService::Consumer("cloud_policy") {} OAuth2TokenService 67 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc OAuth2TokenService* token_service, OAuth2TokenService 78 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 85 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const OAuth2TokenService::Request* request, OAuth2TokenService 93 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc const OAuth2TokenService::Request* request, OAuth2TokenService 180 components/policy/core/common/cloud/cloud_policy_client_registration_helper.cc OAuth2TokenService* token_service, OAuth2TokenService 19 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h class OAuth2TokenService; OAuth2TokenService 45 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h OAuth2TokenService* token_service, OAuth2TokenService 209 components/signin/core/browser/about_signin_internals.cc const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 224 components/signin/core/browser/about_signin_internals.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 242 components/signin/core/browser/about_signin_internals.cc const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 254 components/signin/core/browser/about_signin_internals.cc const OAuth2TokenService::ScopeSet& scopes) OAuth2TokenService 275 components/signin/core/browser/about_signin_internals.cc for (OAuth2TokenService::ScopeSet::const_iterator it = scopes.begin(); OAuth2TokenService 325 components/signin/core/browser/about_signin_internals.cc const OAuth2TokenService::ScopeSet& scopes) { OAuth2TokenService 32 components/signin/core/browser/about_signin_internals.h public OAuth2TokenService::DiagnosticsObserver { OAuth2TokenService 88 components/signin/core/browser/about_signin_internals.h const OAuth2TokenService::ScopeSet& scopes) OVERRIDE; OAuth2TokenService 92 components/signin/core/browser/about_signin_internals.h const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 96 components/signin/core/browser/about_signin_internals.h const OAuth2TokenService::ScopeSet& scopes) OAuth2TokenService 103 components/signin/core/browser/about_signin_internals.h const OAuth2TokenService::ScopeSet& scopes); OAuth2TokenService 113 components/signin/core/browser/about_signin_internals.h OAuth2TokenService::ScopeSet scopes; // Scoped that are requested. OAuth2TokenService 137 components/signin/core/browser/about_signin_internals.h const OAuth2TokenService::ScopeSet& scopes); OAuth2TokenService 105 components/signin/core/browser/account_reconcilor.cc static OAuth2TokenService::ScopeSet GetScopes(); OAuth2TokenService 136 components/signin/core/browser/account_reconcilor.cc OAuth2TokenService::ScopeSet AccountReconcilor::UserIdFetcher::GetScopes() { OAuth2TokenService 137 components/signin/core/browser/account_reconcilor.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 174 components/signin/core/browser/account_reconcilor.cc : OAuth2TokenService::Consumer("account_reconcilor"), OAuth2TokenService 520 components/signin/core/browser/account_reconcilor.cc new scoped_ptr<OAuth2TokenService::Request>[chrome_accounts_.size()]; OAuth2TokenService 521 components/signin/core/browser/account_reconcilor.cc const OAuth2TokenService::ScopeSet scopes = OAuth2TokenService 533 components/signin/core/browser/account_reconcilor.cc const OAuth2TokenService::Request* request, OAuth2TokenService 552 components/signin/core/browser/account_reconcilor.cc const OAuth2TokenService::Request* request, OAuth2TokenService 38 components/signin/core/browser/account_reconcilor.h public OAuth2TokenService::Consumer, OAuth2TokenService 39 components/signin/core/browser/account_reconcilor.h public OAuth2TokenService::Observer, OAuth2TokenService 190 components/signin/core/browser/account_reconcilor.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 193 components/signin/core/browser/account_reconcilor.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 239 components/signin/core/browser/account_reconcilor.h scoped_ptr<OAuth2TokenService::Request>* requests_; OAuth2TokenService 30 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc public OAuth2TokenService::Observer { OAuth2TokenService 290 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 331 components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 37 components/signin/core/browser/profile_oauth2_token_service.h class ProfileOAuth2TokenService : public OAuth2TokenService, OAuth2TokenService 15 components/signin/core/browser/signin_account_id_helper.cc : public OAuth2TokenService::Consumer, OAuth2TokenService 25 components/signin/core/browser/signin_account_id_helper.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 28 components/signin/core/browser/signin_account_id_helper.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 44 components/signin/core/browser/signin_account_id_helper.cc scoped_ptr<OAuth2TokenService::Request> login_token_request_; OAuth2TokenService 55 components/signin/core/browser/signin_account_id_helper.cc : OAuth2TokenService::Consumer("gaia_id_fetcher"), OAuth2TokenService 66 components/signin/core/browser/signin_account_id_helper.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 73 components/signin/core/browser/signin_account_id_helper.cc const OAuth2TokenService::Request* request, OAuth2TokenService 86 components/signin/core/browser/signin_account_id_helper.cc const OAuth2TokenService::Request* request, OAuth2TokenService 22 components/signin/core/browser/signin_account_id_helper.h public OAuth2TokenService::Observer { OAuth2TokenService 52 components/signin/core/browser/signin_tracker.h public OAuth2TokenService::Observer, OAuth2TokenService 31 google_apis/drive/auth_service.cc class AuthRequest : public OAuth2TokenService::Consumer { OAuth2TokenService 33 google_apis/drive/auth_service.cc AuthRequest(OAuth2TokenService* oauth2_token_service, OAuth2TokenService 42 google_apis/drive/auth_service.cc virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 45 google_apis/drive/auth_service.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 49 google_apis/drive/auth_service.cc scoped_ptr<OAuth2TokenService::Request> request_; OAuth2TokenService 56 google_apis/drive/auth_service.cc OAuth2TokenService* oauth2_token_service, OAuth2TokenService 61 google_apis/drive/auth_service.cc : OAuth2TokenService::Consumer("auth_service"), OAuth2TokenService 68 google_apis/drive/auth_service.cc OAuth2TokenService::ScopeSet(scopes.begin(), scopes.end()), OAuth2TokenService 76 google_apis/drive/auth_service.cc void AuthRequest::OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 90 google_apis/drive/auth_service.cc void AuthRequest::OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 124 google_apis/drive/auth_service.cc OAuth2TokenService* oauth2_token_service, OAuth2TokenService 30 google_apis/drive/auth_service.h public OAuth2TokenService::Observer { OAuth2TokenService 36 google_apis/drive/auth_service.h AuthService(OAuth2TokenService* oauth2_token_service, OAuth2TokenService 66 google_apis/drive/auth_service.h OAuth2TokenService* oauth2_token_service_; OAuth2TokenService 19 google_apis/gaia/fake_oauth2_token_service.h class FakeOAuth2TokenService : public OAuth2TokenService { OAuth2TokenService 15 google_apis/gaia/merge_session_helper.cc OAuth2TokenService* token_service, OAuth2TokenService 17 google_apis/gaia/merge_session_helper.h class OAuth2TokenService; OAuth2TokenService 44 google_apis/gaia/merge_session_helper.h MergeSessionHelper(OAuth2TokenService* token_service, OAuth2TokenService 98 google_apis/gaia/merge_session_helper.h OAuth2TokenService* token_service_; OAuth2TokenService 51 google_apis/gaia/merge_session_helper_unittest.cc OAuth2TokenService* token_service, OAuth2TokenService 77 google_apis/gaia/merge_session_helper_unittest.cc OAuth2TokenService* token_service() { return &token_service_; } OAuth2TokenService 21 google_apis/gaia/oauth2_token_service.cc int OAuth2TokenService::max_fetch_retry_num_ = 5; OAuth2TokenService 23 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::RequestParameters::RequestParameters( OAuth2TokenService 32 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::RequestParameters::~RequestParameters() { OAuth2TokenService 35 google_apis/gaia/oauth2_token_service.cc bool OAuth2TokenService::RequestParameters::operator<( OAuth2TokenService 50 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::RequestImpl::RequestImpl( OAuth2TokenService 52 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Consumer* consumer) OAuth2TokenService 57 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::RequestImpl::~RequestImpl() { OAuth2TokenService 61 google_apis/gaia/oauth2_token_service.cc std::string OAuth2TokenService::RequestImpl::GetAccountId() const { OAuth2TokenService 65 google_apis/gaia/oauth2_token_service.cc std::string OAuth2TokenService::RequestImpl::GetConsumerId() const { OAuth2TokenService 69 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::RequestImpl::InformConsumer( OAuth2TokenService 113 google_apis/gaia/oauth2_token_service.cc static Fetcher* CreateAndStart(OAuth2TokenService* oauth2_token_service, OAuth2TokenService 149 google_apis/gaia/oauth2_token_service.cc Fetcher(OAuth2TokenService* oauth2_token_service, OAuth2TokenService 154 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 166 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService* const oauth2_token_service_; OAuth2TokenService 191 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Fetcher* OAuth2TokenService::Fetcher::CreateAndStart( OAuth2TokenService 192 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService* oauth2_token_service, OAuth2TokenService 197 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 199 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Fetcher* fetcher = new Fetcher( OAuth2TokenService 211 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Fetcher::Fetcher( OAuth2TokenService 212 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService* oauth2_token_service, OAuth2TokenService 217 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 232 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Fetcher::~Fetcher() { OAuth2TokenService 238 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::Start() { OAuth2TokenService 248 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::OnGetTokenSuccess( OAuth2TokenService 270 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::OnGetTokenFailure( OAuth2TokenService 282 google_apis/gaia/oauth2_token_service.cc &OAuth2TokenService::Fetcher::Start); OAuth2TokenService 292 google_apis/gaia/oauth2_token_service.cc int64 OAuth2TokenService::Fetcher::ComputeExponentialBackOffMilliseconds( OAuth2TokenService 301 google_apis/gaia/oauth2_token_service.cc bool OAuth2TokenService::Fetcher::ShouldRetry( OAuth2TokenService 309 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::InformWaitingRequests() { OAuth2TokenService 320 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::InformWaitingRequestsAndDelete() { OAuth2TokenService 328 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::AddWaitingRequest( OAuth2TokenService 329 google_apis/gaia/oauth2_token_service.cc base::WeakPtr<OAuth2TokenService::RequestImpl> waiting_request) { OAuth2TokenService 333 google_apis/gaia/oauth2_token_service.cc size_t OAuth2TokenService::Fetcher::GetWaitingRequestCount() const { OAuth2TokenService 337 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::Fetcher::Cancel() { OAuth2TokenService 344 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& OAuth2TokenService::Fetcher::GetScopeSet() OAuth2TokenService 349 google_apis/gaia/oauth2_token_service.cc const std::string& OAuth2TokenService::Fetcher::GetClientId() const { OAuth2TokenService 353 google_apis/gaia/oauth2_token_service.cc const std::string& OAuth2TokenService::Fetcher::GetAccountId() const { OAuth2TokenService 357 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Request::Request() { OAuth2TokenService 360 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Request::~Request() { OAuth2TokenService 363 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Consumer::Consumer(const std::string& id) OAuth2TokenService 366 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Consumer::~Consumer() { OAuth2TokenService 369 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::OAuth2TokenService() { OAuth2TokenService 372 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::~OAuth2TokenService() { OAuth2TokenService 378 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::AddObserver(Observer* observer) { OAuth2TokenService 382 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::RemoveObserver(Observer* observer) { OAuth2TokenService 386 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::AddDiagnosticsObserver(DiagnosticsObserver* observer) { OAuth2TokenService 390 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::RemoveDiagnosticsObserver( OAuth2TokenService 395 google_apis/gaia/oauth2_token_service.cc std::vector<std::string> OAuth2TokenService::GetAccounts() { OAuth2TokenService 399 google_apis/gaia/oauth2_token_service.cc scoped_ptr<OAuth2TokenService::Request> OAuth2TokenService::StartRequest( OAuth2TokenService 401 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 402 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Consumer* consumer) { OAuth2TokenService 412 google_apis/gaia/oauth2_token_service.cc scoped_ptr<OAuth2TokenService::Request> OAuth2TokenService 413 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::StartRequestForClient( OAuth2TokenService 417 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 418 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Consumer* consumer) { OAuth2TokenService 428 google_apis/gaia/oauth2_token_service.cc scoped_ptr<OAuth2TokenService::Request> OAuth2TokenService 429 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::StartRequestWithContext( OAuth2TokenService 443 google_apis/gaia/oauth2_token_service.cc scoped_ptr<OAuth2TokenService::Request> OAuth2TokenService 444 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::StartRequestForClientWithContext( OAuth2TokenService 492 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::FetchOAuth2Token(RequestImpl* request, OAuth2TokenService 521 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::StartCacheLookupRequest( OAuth2TokenService 523 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::RequestParameters& request_parameters, OAuth2TokenService 524 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::Consumer* consumer) { OAuth2TokenService 542 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::InvalidateToken(const std::string& account_id, OAuth2TokenService 551 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::InvalidateTokenForClient( OAuth2TokenService 559 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::InvalidateOAuth2Token( OAuth2TokenService 572 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::OnFetchComplete(Fetcher* fetcher) { OAuth2TokenService 609 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::CacheEntry* entry = GetCacheEntry(request_param); OAuth2TokenService 630 google_apis/gaia/oauth2_token_service.cc bool OAuth2TokenService::HasCacheEntry( OAuth2TokenService 636 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::CacheEntry* OAuth2TokenService::GetCacheEntry( OAuth2TokenService 649 google_apis/gaia/oauth2_token_service.cc bool OAuth2TokenService::RemoveCacheEntry( OAuth2TokenService 665 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::RegisterCacheEntry( OAuth2TokenService 668 google_apis/gaia/oauth2_token_service.cc const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenService 680 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::UpdateAuthError( OAuth2TokenService 686 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::ClearCache() { OAuth2TokenService 698 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::ClearCacheForAccount(const std::string& account_id) { OAuth2TokenService 713 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::CancelAllRequests() { OAuth2TokenService 724 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::CancelRequestsForAccount( OAuth2TokenService 737 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::CancelFetchers( OAuth2TokenService 739 google_apis/gaia/oauth2_token_service.cc for (std::vector<OAuth2TokenService::Fetcher*>::iterator iter = OAuth2TokenService 747 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::FireRefreshTokenAvailable( OAuth2TokenService 753 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::FireRefreshTokenRevoked( OAuth2TokenService 759 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::FireRefreshTokensLoaded() { OAuth2TokenService 763 google_apis/gaia/oauth2_token_service.cc int OAuth2TokenService::cache_size_for_testing() const { OAuth2TokenService 767 google_apis/gaia/oauth2_token_service.cc void OAuth2TokenService::set_max_authorization_token_fetch_retries_for_testing( OAuth2TokenService 773 google_apis/gaia/oauth2_token_service.cc size_t OAuth2TokenService::GetNumPendingRequestsForTesting( OAuth2TokenService 778 google_apis/gaia/oauth2_token_service.cc OAuth2TokenService::RequestParameters( OAuth2TokenService 54 google_apis/gaia/oauth2_token_service.h class OAuth2TokenService : public base::NonThreadSafe { OAuth2TokenService 129 google_apis/gaia/oauth2_token_service.h OAuth2TokenService(); OAuth2TokenService 130 google_apis/gaia/oauth2_token_service.h virtual ~OAuth2TokenService(); OAuth2TokenService 384 google_apis/gaia/oauth2_token_service.h DISALLOW_COPY_AND_ASSIGN(OAuth2TokenService); OAuth2TokenService 23 google_apis/gaia/oauth2_token_service_test_util.cc : OAuth2TokenService::Consumer("test"), OAuth2TokenService 33 google_apis/gaia/oauth2_token_service_test_util.cc const OAuth2TokenService::Request* request, OAuth2TokenService 41 google_apis/gaia/oauth2_token_service_test_util.cc const OAuth2TokenService::Request* request, OAuth2TokenService 16 google_apis/gaia/oauth2_token_service_test_util.h class TestingOAuth2TokenServiceConsumer : public OAuth2TokenService::Consumer { OAuth2TokenService 22 google_apis/gaia/oauth2_token_service_test_util.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 25 google_apis/gaia/oauth2_token_service_test_util.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 26 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService* oauth2_service, OAuth2TokenService 32 google_apis/gaia/oauth2_token_service_unittest.cc virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 36 google_apis/gaia/oauth2_token_service_unittest.cc account_id_, OAuth2TokenService::ScopeSet(), this).release()); OAuth2TokenService 39 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService* oauth2_service_; OAuth2TokenService 41 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request_; OAuth2TokenService 44 google_apis/gaia/oauth2_token_service_unittest.cc class TestOAuth2TokenService : public OAuth2TokenService { OAuth2TokenService 117 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 118 google_apis/gaia/oauth2_token_service_unittest.cc oauth2_service_->StartRequest(account_id_, OAuth2TokenService::ScopeSet(), OAuth2TokenService 128 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 130 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 148 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 150 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 167 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scopes1; OAuth2TokenService 170 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scopes1_same; OAuth2TokenService 173 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scopes2; OAuth2TokenService 179 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 196 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 206 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request3( OAuth2TokenService 225 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 227 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 242 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 244 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 264 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 266 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 281 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 283 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 302 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 304 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), OAuth2TokenService 324 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request(oauth2_service_->StartRequest( OAuth2TokenService 325 google_apis/gaia/oauth2_token_service_unittest.cc account_id_, OAuth2TokenService::ScopeSet(), &consumer_)); OAuth2TokenService 346 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request(oauth2_service_->StartRequest( OAuth2TokenService 347 google_apis/gaia/oauth2_token_service_unittest.cc account_id_, OAuth2TokenService::ScopeSet(), &consumer_)); OAuth2TokenService 349 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 350 google_apis/gaia/oauth2_token_service_unittest.cc oauth2_service_->StartRequest(account_id_, OAuth2TokenService::ScopeSet(), OAuth2TokenService 368 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request(oauth2_service_->StartRequest( OAuth2TokenService 369 google_apis/gaia/oauth2_token_service_unittest.cc account_id_, OAuth2TokenService::ScopeSet(), &consumer_)); OAuth2TokenService 383 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet(), &consumer_); OAuth2TokenService 392 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 395 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scopes1; OAuth2TokenService 399 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request(oauth2_service_->StartRequest( OAuth2TokenService 411 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 433 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request(oauth2_service_->StartRequest( OAuth2TokenService 434 google_apis/gaia/oauth2_token_service_unittest.cc account_id_, OAuth2TokenService::ScopeSet(), &consumer_)); OAuth2TokenService 450 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request(oauth2_service_->StartRequest( OAuth2TokenService 451 google_apis/gaia/oauth2_token_service_unittest.cc account_id_, OAuth2TokenService::ScopeSet(), &consumer)); OAuth2TokenService 474 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 478 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 495 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 506 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request3( OAuth2TokenService 523 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request( OAuth2TokenService 524 google_apis/gaia/oauth2_token_service_unittest.cc oauth2_service_->StartRequest(account_id_, OAuth2TokenService::ScopeSet(), OAuth2TokenService 528 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 529 google_apis/gaia/oauth2_token_service_unittest.cc oauth2_service_->StartRequest(account_id_, OAuth2TokenService::ScopeSet(), OAuth2TokenService 543 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scope_set_1; OAuth2TokenService 546 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet scope_set_2(scope_set_1.begin(), OAuth2TokenService 551 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request1( OAuth2TokenService 553 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 558 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request3( OAuth2TokenService 588 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request1( OAuth2TokenService 594 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request2( OAuth2TokenService 601 google_apis/gaia/oauth2_token_service_unittest.cc scoped_ptr<OAuth2TokenService::Request> request3( OAuth2TokenService 622 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet set_0; OAuth2TokenService 623 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::ScopeSet set_1; OAuth2TokenService 626 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters params[] = { OAuth2TokenService 627 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("0", "0", set_0), OAuth2TokenService 628 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("0", "0", set_1), OAuth2TokenService 629 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("0", "1", set_0), OAuth2TokenService 630 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("0", "1", set_1), OAuth2TokenService 631 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("1", "0", set_0), OAuth2TokenService 632 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("1", "0", set_1), OAuth2TokenService 633 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("1", "1", set_0), OAuth2TokenService 634 google_apis/gaia/oauth2_token_service_unittest.cc OAuth2TokenService::RequestParameters("1", "1", set_1), OAuth2TokenService 16 google_apis/gaia/ubertoken_fetcher.cc OAuth2TokenService* token_service, OAuth2TokenService 19 google_apis/gaia/ubertoken_fetcher.cc : OAuth2TokenService::Consumer("uber_token_fetcher"), OAuth2TokenService 32 google_apis/gaia/ubertoken_fetcher.cc OAuth2TokenService::ScopeSet scopes; OAuth2TokenService 48 google_apis/gaia/ubertoken_fetcher.cc const OAuth2TokenService::Request* request, OAuth2TokenService 59 google_apis/gaia/ubertoken_fetcher.cc const OAuth2TokenService::Request* request, OAuth2TokenService 39 google_apis/gaia/ubertoken_fetcher.h public OAuth2TokenService::Consumer { OAuth2TokenService 41 google_apis/gaia/ubertoken_fetcher.h UbertokenFetcher(OAuth2TokenService* token_service, OAuth2TokenService 55 google_apis/gaia/ubertoken_fetcher.h virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request, OAuth2TokenService 58 google_apis/gaia/ubertoken_fetcher.h virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request, OAuth2TokenService 62 google_apis/gaia/ubertoken_fetcher.h OAuth2TokenService* token_service_; OAuth2TokenService 66 google_apis/gaia/ubertoken_fetcher.h scoped_ptr<OAuth2TokenService::Request> access_token_request_;