/external/chromium_org/components/enhanced_bookmarks/ |
H A D | bookmark_server_service.cc | 82 OAuth2TokenService::ScopeSet scopes; local 83 scopes.insert(GaiaConstants::kChromeSyncOAuth2Scope); 84 token_request_ = token_service_->StartRequest(username, scopes, this);
|
/external/chromium_org/google_apis/gaia/ |
H A D | fake_gaia.h | 45 ScopeSet scopes; member in struct:FakeGaia::AccessTokenInfo
|
H A D | oauth2_access_token_fetcher_impl_unittest.cc | 168 ScopeList scopes; local 169 scopes.push_back("https://www.googleapis.com/foo"); 172 "cid1", "cs1", "rt1", scopes)); 175 { // Multiple scopes. 184 ScopeList scopes; local 185 scopes.push_back("https://www.googleapis.com/foo"); 186 scopes.push_back("https://www.googleapis.com/bar"); 187 scopes.push_back("https://www.googleapis.com/baz"); 190 "cid1", "cs1", "rt1", scopes));
|
H A D | oauth2_mint_token_flow.h | 57 // token for the given client and the given set of scopes from the 89 std::vector<std::string> scopes; member in struct:OAuth2MintTokenFlow::Parameters
|
H A D | oauth2_mint_token_flow_unittest.cc | 49 " \"scopes\": [" 71 " \"scopes\": [" 92 " \"scopes\": [" 105 std::vector<std::string> scopes; local 106 scopes.push_back("http://scope1"); 107 scopes.push_back("http://scope2"); 108 return scopes; 165 std::vector<std::string> scopes(CreateTestScopes()); 168 OAuth2MintTokenFlow::Parameters(rt, ext_id, client_id, scopes, mode)));
|
H A D | oauth2_token_service.h | 38 // To use this service, call StartRequest() with a given set of scopes and a 56 // A set of scopes in OAuth2 authentication. 120 const ScopeSet& scopes) = 0; 126 const ScopeSet& scopes, 130 const ScopeSet& scopes) = 0; 145 // and |scopes|, and if not found starts a request for an OAuth2 access token 148 // |scopes| is the set of scopes to get an access token for, |consumer| is 152 const ScopeSet& scopes, 162 const ScopeSet& scopes, 326 ScopeSet scopes; member in struct:OAuth2TokenService::RequestParameters [all...] |
H A D | oauth2_token_service_unittest.cc | 194 // Second request to the same set of scopes, should return the same token 205 // Third request to a new set of scopes, should return another token. 392 OAuth2TokenService::ScopeSet scopes; local 393 scopes.insert("s1"); 394 scopes.insert("s2"); 396 scopes.insert("s3"); 397 scopes.insert("s4"); 400 account_id_, scopes, &consumer_)); 474 OAuth2TokenService::ScopeSet scopes; local 479 oauth2_service_->StartRequest(account_id_, scopes, [all...] |
H A D | account_tracker.cc | 277 OAuth2TokenService::ScopeSet scopes; local 278 scopes.insert("https://www.googleapis.com/auth/userinfo.profile"); 280 account_key_, scopes, this);
|
H A D | gaia_oauth_client.cc | 50 const std::vector<std::string>& scopes, 125 const std::vector<std::string>& scopes, 138 if (!scopes.empty()) { 139 std::string scopes_string = JoinString(scopes, ' '); 368 const std::vector<std::string>& scopes, 373 scopes, 122 RefreshToken( const OAuthClientInfo& oauth_client_info, const std::string& refresh_token, const std::vector<std::string>& scopes, int max_retries, GaiaOAuthClient::Delegate* delegate) argument 365 RefreshToken( const OAuthClientInfo& oauth_client_info, const std::string& refresh_token, const std::vector<std::string>& scopes, int max_retries, Delegate* delegate) argument
|
H A D | oauth2_access_token_fetcher_impl.cc | 148 const std::vector<std::string>& scopes) { 151 scopes_ = scopes; 276 const std::vector<std::string>& scopes) { 282 if (scopes.empty()) { 288 std::string scopes_string = JoinString(scopes, ' '); 145 Start( const std::string& client_id, const std::string& client_secret, const std::vector<std::string>& scopes) argument 272 MakeGetAccessTokenBody( const std::string& client_id, const std::string& client_secret, const std::string& refresh_token, const std::vector<std::string>& scopes) argument
|
H A D | oauth2_api_call_flow_unittest.cc | 51 std::vector<std::string> scopes; local 52 scopes.push_back("scope1"); 53 scopes.push_back("scope2"); 54 return scopes; 84 const std::vector<std::string>& scopes)); 92 const std::vector<std::string>& scopes) 93 : OAuth2ApiCallFlow(context, refresh_token, access_token, scopes) {} 113 void SetupAccessTokenFetcher(const std::vector<std::string>& scopes) { argument 117 scopes)).Times(1); 141 const std::vector<std::string>& scopes) { 89 MockApiCallFlow(net::URLRequestContextGetter* context, const std::string& refresh_token, const std::string& access_token, const std::vector<std::string>& scopes) argument 139 CreateFlow(const std::string& refresh_token, const std::string& access_token, const std::vector<std::string>& scopes) argument [all...] |
/external/chromium_org/sync/internal_api/attachments/ |
H A D | attachment_downloader_impl.cc | 43 const OAuth2TokenService::ScopeSet& scopes, 50 oauth2_scopes_(scopes), 53 DCHECK(!scopes.empty()); 38 AttachmentDownloaderImpl( const GURL& sync_service_url, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, const scoped_refptr<OAuth2TokenServiceRequest::TokenServiceProvider>& token_service_provider) argument
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
H A D | private_api_misc.cc | 310 std::vector<std::string> scopes; local 311 scopes.push_back(kCWSScope); 335 scopes));
|
/external/chromium_org/chrome/browser/chromeos/login/signin/ |
H A D | oauth2_login_verifier.cc | 103 OAuth2TokenService::ScopeSet scopes; local 104 scopes.insert(GaiaConstants::kOAuth1LoginScope); 112 scopes,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_manager_chromeos_unittest.cc | 262 OAuth2TokenService::ScopeSet scopes; local 263 scopes.insert(GaiaConstants::kDeviceManagementServiceOAuth); 264 scopes.insert(GaiaConstants::kOAuthWrapBridgeUserInfoScope); 266 scopes, "5678",
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | device_oauth2_token_service.cc | 33 const ScopeSet& scopes) 37 scopes(scopes) {} 42 const ScopeSet scopes; member in struct:chromeos::DeviceOAuth2TokenService::PendingRequest 177 const ScopeSet& scopes) { 187 request->AsWeakPtr(), client_id, client_secret, scopes)); 198 request, account_id, getter, client_id, client_secret, scopes); 359 scoped_request->scopes); 30 PendingRequest(const base::WeakPtr<RequestImpl>& request, const std::string& client_id, const std::string& client_secret, const ScopeSet& scopes) argument 171 FetchOAuth2Token( RequestImpl* request, const std::string& account_id, net::URLRequestContextGetter* getter, const std::string& client_id, const std::string& client_secret, const ScopeSet& scopes) argument
|
/external/chromium_org/chrome/browser/services/gcm/ |
H A D | gcm_account_tracker.cc | 219 OAuth2TokenService::ScopeSet scopes; local 220 scopes.insert(kGCMGroupServerScope); 221 scopes.insert(kGCMCheckinServerScope); 223 GetTokenService()->StartRequest(account_iter->first, scopes, this);
|
/external/chromium_org/chrome/browser/signin/ |
H A D | easy_unlock_toggle_flow.cc | 29 std::vector<std::string> scopes; local 30 scopes.push_back("https://www.googleapis.com/auth/proximity_auth"); 31 scopes.push_back("https://www.googleapis.com/auth/cryptauth"); 32 return scopes;
|
H A D | fake_profile_oauth2_token_service.cc | 148 bool scope_matches = all_scopes || it->scopes == scope; 186 const ScopeSet& scopes) { 191 pending_request.scopes = scopes; 217 const ScopeSet& scopes, 180 FetchOAuth2Token( RequestImpl* request, const std::string& account_id, net::URLRequestContextGetter* getter, const std::string& client_id, const std::string& client_secret, const ScopeSet& scopes) argument 214 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
|
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | permission_request_creator_apiary.cc | 102 OAuth2TokenService::ScopeSet scopes; local 103 scopes.insert(GetApiScopeToUse()); 105 signin_wrapper_->GetAccountIdToUse(), scopes, this); 177 OAuth2TokenService::ScopeSet scopes; local 178 scopes.insert(GetApiScopeToUse()); 180 signin_wrapper_->GetAccountIdToUse(), scopes, (*it)->access_token);
|
H A D | supervised_user_refresh_token_fetcher.cc | 141 OAuth2TokenService::ScopeSet scopes; local 142 scopes.insert(GaiaConstants::kOAuth1LoginScope); 144 account_id_, scopes, this);
|
/external/chromium_org/components/invalidation/ |
H A D | gcm_invalidation_bridge.cc | 206 OAuth2TokenService::ScopeSet scopes; local 207 scopes.insert(GaiaConstants::kChromeSyncOAuth2Scope); 209 identity_provider_->GetActiveAccountId(), scopes, this); 247 OAuth2TokenService::ScopeSet scopes; local 248 scopes.insert(GaiaConstants::kChromeSyncOAuth2Scope); 250 identity_provider_->GetActiveAccountId(), scopes, token);
|
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | cloud_policy_client_registration_helper.cc | 72 OAuth2TokenService::ScopeSet scopes; local 73 scopes.insert(GaiaConstants::kDeviceManagementServiceOAuth); 74 scopes.insert(GaiaConstants::kOAuthWrapBridgeUserInfoScope); 75 token_request_ = token_service->StartRequest(account_id, scopes, this); 217 std::vector<std::string> scopes; local 218 scopes.push_back(GaiaConstants::kDeviceManagementServiceOAuth); 219 scopes.push_back(GaiaConstants::kOAuthWrapBridgeUserInfoScope); 220 return scopes;
|
/external/chromium_org/components/signin/core/browser/ |
H A D | signin_account_id_helper.cc | 66 OAuth2TokenService::ScopeSet scopes; local 67 scopes.insert("https://www.googleapis.com/auth/userinfo.profile"); 69 signin_manager_->GetAuthenticatedAccountId(), scopes, this);
|
/external/chromium_org/google_apis/drive/ |
H A D | auth_service.cc | 43 const std::vector<std::string>& scopes); 66 const std::vector<std::string>& scopes) 74 OAuth2TokenService::ScopeSet(scopes.begin(), scopes.end()), 123 const std::vector<std::string>& scopes) 127 scopes_(scopes), 61 AuthRequest( OAuth2TokenService* oauth2_token_service, const std::string& account_id, net::URLRequestContextGetter* url_request_context_getter, const AuthStatusCallback& callback, const std::vector<std::string>& scopes) argument 119 AuthService( OAuth2TokenService* oauth2_token_service, const std::string& account_id, net::URLRequestContextGetter* url_request_context_getter, const std::vector<std::string>& scopes) argument
|