Searched refs:scopes (Results 51 - 75 of 201) sorted by relevance

123456789

/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/
H A DFuzzyLexer.h22 #pragma mark Rule return scopes start
23 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/output1/
H A DFuzzyLexer.h22 #pragma mark Rule return scopes start
23 #pragma mark Rule return scopes end
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
H A DSimpleCLexer.h22 #pragma mark Rule return scopes start
23 #pragma mark Rule return scopes end
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_client_registration_helper.cc72 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/google_apis/gaia/
H A Doauth2_access_token_fetcher_impl_unittest.cc168 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 Doauth2_token_service_request.h58 // Creates and starts an access token request for |account_id| and |scopes|.
64 // |scopes| must not be empty.
74 const OAuth2TokenService::ScopeSet& scopes,
77 // Invalidates |access_token| for |account_id| and |scopes|.
83 // |scopes| must not be empty.
87 const OAuth2TokenService::ScopeSet& scopes,
H A Doauth2_access_token_fetcher_impl.h59 const std::vector<std::string>& scopes) OVERRIDE;
89 const std::vector<std::string>& scopes);
H A Doauth2_access_token_fetcher_impl.cc148 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
/external/chromium_org/components/signin/core/browser/
H A Dabout_signin_internals.cc237 const OAuth2TokenService::ScopeSet& scopes) {
238 TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes);
240 *token = TokenInfo(consumer_id, scopes);
242 token = new TokenInfo(consumer_id, scopes);
252 const OAuth2TokenService::ScopeSet& scopes,
255 TokenInfo* token = signin_status_.FindToken(account_id, consumer_id, scopes);
270 const OAuth2TokenService::ScopeSet& scopes) {
274 if (token->scopes == scopes)
350 const OAuth2TokenService::ScopeSet& scopes)
234 OnAccessTokenRequested( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument
249 OnFetchAccessTokenComplete( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes, GoogleServiceAuthError error, base::Time expiration_time) argument
268 OnTokenRemoved( const std::string& account_id, const OAuth2TokenService::ScopeSet& scopes) argument
348 TokenInfo( const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument
418 FindToken( const std::string& account_id, const std::string& consumer_id, const OAuth2TokenService::ScopeSet& scopes) argument
[all...]
H A Daccount_service_flag_fetcher.cc63 OAuth2TokenService::ScopeSet scopes; local
64 scopes.insert(GaiaConstants::kOAuth1LoginScope);
66 account_id_, scopes, this);
H A Dsignin_account_id_helper.cc66 OAuth2TokenService::ScopeSet scopes; local
67 scopes.insert("https://www.googleapis.com/auth/userinfo.profile");
69 signin_manager_->GetAuthenticatedAccountId(), scopes, this);
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
H A Dobfuscated_gaia_id_fetcher.cc60 // Returns a vector of scopes needed to call the API to get obfuscated Gaia ID.
62 std::vector<std::string> scopes; local
63 scopes.push_back("https://www.googleapis.com/auth/gcm_for_chrome.readonly");
64 return scopes;
/external/chromium_org/components/enhanced_bookmarks/
H A Dbookmark_server_service.cc82 OAuth2TokenService::ScopeSet scopes; local
83 scopes.insert(GaiaConstants::kChromeSyncOAuth2Scope);
84 token_request_ = token_service_->StartRequest(username, scopes, this);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/
H A DSymbolTableParser.h1 // $ANTLR 3.2 Aug 19, 2010 17:16:04 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g 2010-08-19 17:16:47
46 #pragma mark Rule return scopes end
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_toggle_flow.cc29 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 Dandroid_profile_oauth2_token_service.cc46 const std::vector<std::string>& scopes) OVERRIDE;
55 std::string CombineScopes(const std::vector<std::string>& scopes);
77 const std::vector<std::string>& scopes) {
79 std::string scope = CombineScopes(scopes);
118 const std::vector<std::string>& scopes) {
119 // The Android AccountManager supports multiple scopes separated by a space:
122 for (std::vector<std::string>::const_iterator it = scopes.begin();
123 it != scopes.end(); ++it) {
227 const ScopeSet& scopes,
231 scopes,
75 Start(const std::string& client_id, const std::string& client_secret, const std::vector<std::string>& scopes) argument
117 CombineScopes( const std::vector<std::string>& scopes) argument
224 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument
[all...]
H A Dfake_profile_oauth2_token_service.cc148 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/ios/public/provider/components/signin/browser/
H A Dprofile_oauth2_token_service_ios_provider.h61 // the given |scopes|. Once the token is obtained, |callback| is called.
65 const std::set<std::string>& scopes,
/external/chromium_org/ios/public/test/
H A Dfake_profile_oauth2_token_service_ios_provider.h30 const std::set<std::string>& scopes,
/external/chromium_org/chrome/common/extensions/api/identity/
H A Dextension_manifests_auth_unittest.cc53 " \"scopes\": [ \"scope1\" ], \n"
96 base::ListValue* scopes = new base::ListValue(); local
97 scopes->Append(new base::StringValue("scope1"));
98 scopes->Append(new base::StringValue("scope2"));
99 base_manifest.Set(keys::kOAuth2Scopes, scopes);
115 EXPECT_EQ(2U, OAuth2Info::GetOAuth2Info(extension.get()).scopes.size());
116 EXPECT_EQ("scope1", OAuth2Info::GetOAuth2Info(extension.get()).scopes[0]);
117 EXPECT_EQ("scope2", OAuth2Info::GetOAuth2Info(extension.get()).scopes[1]);
132 EXPECT_EQ(2U, OAuth2Info::GetOAuth2Info(extension.get()).scopes.size());
133 EXPECT_EQ("scope1", OAuth2Info::GetOAuth2Info(extension.get()).scopes[
[all...]
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_oauth2_token_service.cc33 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/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dscopes.rb44 /* global scopes */
66 /* rule scopes, from the book, final beta, p.147 */
83 /* rule scopes, from the book, final beta, p.148 */
107 /* recursive rule scopes, from the book, final beta, p.150 */
137 /* recursive rule scopes, access bottom-most scope */
151 /* recursive rule scopes, access with negative index */
/external/chromium_org/chrome/browser/supervised_user/
H A Dpermission_request_creator_apiary.cc102 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);
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-scopes.js87 function CheckFastAllScopes(scopes, exec_state)
91 assertTrue(scopes.length >= length);
92 for (var i = 0; i < scopes.length && i < length; i++) {
95 assertEquals(scopes[scopes.length - i - 1], scope.scopeType());
100 // Check that the scope chain contains the expected types of scopes.
101 function CheckScopeChain(scopes, exec_state) {
103 assertEquals(scopes.length, exec_state.frame().scopeCount());
104 assertEquals(scopes.length, all_scopes.length, "FrameMirror.allScopes length");
105 for (var i = 0; i < scopes
[all...]
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_downloader_impl_unittest.cc47 const ScopeSet& scopes) OVERRIDE;
51 const ScopeSet& scopes,
83 const ScopeSet& scopes) {
92 const ScopeSet& scopes,
189 OAuth2TokenService::ScopeSet scopes; local
190 scopes.insert(GaiaConstants::kChromeSyncOAuth2Scope);
195 scopes,
77 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
89 InvalidateOAuth2Token( const std::string& account_id, const std::string& client_id, const ScopeSet& scopes, const std::string& access_token) argument

Completed in 865 milliseconds

123456789