Searched refs:scopes (Results 76 - 100 of 201) sorted by relevance

123456789

/external/chromium_org/components/invalidation/
H A Dgcm_invalidation_bridge.cc206 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/google_apis/gaia/
H A Doauth2_mint_token_flow_unittest.cc49 " \"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 Doauth2_token_service_request_unittest.cc88 const ScopeSet& scopes) OVERRIDE;
92 const ScopeSet& scopes,
127 const ScopeSet& scopes) {
140 const ScopeSet& scopes,
121 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
137 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
H A Dgaia_oauth_client.cc50 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 Doauth2_api_call_flow.cc40 const std::vector<std::string>& scopes)
44 scopes_(scopes),
36 OAuth2ApiCallFlow( net::URLRequestContextGetter* context, const std::string& refresh_token, const std::string& access_token, const std::vector<std::string>& scopes) argument
H A Dgaia_oauth_client.h85 // to authenticate an API call. If |scopes| is non-empty, then fetch an
86 // access token for those specific scopes (assuming the refresh token has the
90 const std::vector<std::string>& scopes,
96 // https://www.googleapis.com/auth/userinfo.email as one of its scopes.
104 // https://www.googleapis.com/auth/userinfo as one of its scopes.
112 // https://www.googleapis.com/auth/userinfo.profile in its scopes. If
H A Doauth2_api_call_flow.h28 // Given a refresh token, an access token, and a list of scopes an OAuth2
31 // 2. If that does not work, use the refresh token and scopes to generate
48 const std::vector<std::string>& scopes);
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_uploader_impl.cc48 const OAuth2TokenService::ScopeSet& scopes,
111 const OAuth2TokenService::ScopeSet& scopes,
121 scopes_(scopes),
258 const OAuth2TokenService::ScopeSet& scopes,
264 scopes_(scopes),
269 DCHECK(!scopes.empty());
104 UploadState( const GURL& upload_url, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, const Attachment& attachment, const UploadCallback& user_callback, const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes, OAuth2TokenServiceRequest::TokenServiceProvider* token_service_provider, const base::WeakPtr<AttachmentUploaderImpl>& owner) argument
253 AttachmentUploaderImpl( 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
H A Dattachment_downloader_impl.cc43 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/elfutils/0.153/src/
H A Daddr2line.c251 Dwarf_Die *scopes; local
252 int nscopes = dwarf_getscopes (cudie, addr - bias, &scopes);
257 switch (dwarf_tag (&scopes[i]))
261 const char *name = dwarf_diename (&scopes[i]);
270 const char *name = dwarf_diename (&scopes[i]);
280 if (dwarf_formudata (dwarf_attr (&scopes[i],
287 if (dwarf_formudata (dwarf_attr (&scopes[i],
291 if (dwarf_formudata (dwarf_attr (&scopes[i],
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
H A DSimpleCTP.h70 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
H A DTreeRewriteParser.h48 #pragma mark Rule return scopes end
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Dgaia_web_auth_flow.cc52 std::vector<std::string> scopes(token_key->scopes.begin(),
53 token_key->scopes.end());
71 net::EscapeUrlEncodedData(JoinString(scopes, ' '), true).c_str(),
H A Didentity_api.cc55 const char kInvalidScopes[] = "Invalid OAuth2 scopes.";
329 std::set<std::string> scopes(oauth2_info.scopes.begin(),
330 oauth2_info.scopes.end());
352 if (params->details->scopes.get()) {
353 scopes = std::set<std::string>(params->details->scopes->begin(),
354 params->details->scopes->end());
358 if (scopes.size() == 0) {
364 new ExtensionTokenKey(extension()->id(), account_key, scopes));
732 OAuth2TokenService::ScopeSet scopes; local
[all...]
/external/chromium_org/chrome/browser/services/gcm/
H A Dgcm_account_tracker.cc219 OAuth2TokenService::ScopeSet scopes; local
220 scopes.insert(kGCMGroupServerScope);
221 scopes.insert(kGCMCheckinServerScope);
223 GetTokenService()->StartRequest(account_iter->first, scopes, this);
/external/chromium_org/google_apis/drive/
H A Dauth_service.h35 // |scopes| specifies OAuth2 scopes.
39 const std::vector<std::string>& scopes);
/external/chromium_org/sync/internal_api/public/attachments/
H A Dattachment_uploader_impl.h32 // |scopes| is the set of scopes to use for uploads.
40 const OAuth2TokenService::ScopeSet& scopes,
H A Dattachment_downloader_impl.h30 // |scopes| is the set of scopes to use for downloads.
38 const OAuth2TokenService::ScopeSet& scopes,
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
H A DCombinedParser.m68 #pragma mark Rule return scopes start
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_manager_chromeos_browsertest.cc86 token_info.scopes.insert(GaiaConstants::kDeviceManagementServiceOAuth);
87 token_info.scopes.insert(GaiaConstants::kOAuthWrapBridgeUserInfoScope);
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_refresh_token_fetcher_unittest.cc83 EXPECT_EQ(1u, requests[0].scopes.size());
84 EXPECT_EQ(1u, requests[0].scopes.count(GaiaConstants::kOAuth1LoginScope));
201 oauth2_token_service_.IssueTokenForScope(requests[0].scopes,
212 oauth2_token_service_.IssueErrorForScope(requests[0].scopes,
H A Dsupervised_user_refresh_token_fetcher.cc141 OAuth2TokenService::ScopeSet scopes; local
142 scopes.insert(GaiaConstants::kOAuth1LoginScope);
144 account_id_, scopes, this);
/external/chromium_org/chrome/common/extensions/api/identity/
H A Doauth2_manifest_handler.cc18 const char kScopes[] = "scopes";
87 info->scopes.push_back(scope);
/external/chromium_org/components/signin/ios/browser/
H A Dprofile_oauth2_token_service_ios.h38 const ScopeSet& scopes,
/external/chromium_org/chrome/browser/chromeos/login/signin/
H A Doauth2_login_verifier.cc103 OAuth2TokenService::ScopeSet scopes; local
104 scopes.insert(GaiaConstants::kOAuth1LoginScope);
112 scopes,

Completed in 1059 milliseconds

123456789