/external/chromium_org/chrome/browser/sync/ |
fake_oauth2_token_service.cc | 17 const OAuth2TokenService::ScopeSet& scopes) {
|
/external/chromium_org/chrome/common/extensions/api/identity/ |
extension_manifests_auth_unittest.cc | 53 " \"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[0]) [all...] |
/external/chromium_org/google_apis/gaia/ |
oauth2_access_token_fetcher.h | 54 // |scopes| can be empty. If it is empty then the access token will have the 56 // the scopes specified. In this case, the access token will successfully be 57 // generated only if refresh token has login scope of a list of scopes that is 58 // a super-set of the specified scopes. 62 const std::vector<std::string>& scopes); 92 const std::vector<std::string>& scopes);
|
fake_gaia.cc | 104 std::vector<std::string> scope_vector(token_info->scopes.begin(), 105 token_info->scopes.end()); 167 ScopeSet scopes(scope_list.begin(), scope_list.end()); 174 (scope_string.empty() || entry->second.scopes == scopes)) {
|
oauth2_access_token_fetcher.cc | 135 const std::vector<std::string>& scopes) { 139 scopes_ = scopes; 256 const std::vector<std::string>& scopes) { 262 if (scopes.empty()) { 269 std::string scopes_string = JoinString(scopes, ' ');
|
gaia_oauth_client.cc | 50 const std::vector<std::string>& scopes, 120 const std::vector<std::string>& scopes, 133 if (!scopes.empty()) { 134 std::string scopes_string = JoinString(scopes, ' '); 350 const std::vector<std::string>& scopes, 355 scopes,
|
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)));
|
fake_gaia.h | 43 ScopeSet scopes; member in struct:FakeGaia::AccessTokenInfo
|
gaia_oauth_client.h | 82 // to authenticate an API call. If |scopes| is non-empty, then fetch an 83 // access token for those specific scopes (assuming the refresh token has the 87 const std::vector<std::string>& scopes, 93 // https://www.googleapis.com/auth/userinfo.email as one of its scopes. 101 // https://www.googleapis.com/auth/userinfo as one of its scopes.
|
oauth2_api_call_flow.h | 26 // Given a refresh token, an access token, and a list of scopes an OAuth2 29 // 2. If that does not work, use the refresh token and scopes to generate 46 const std::vector<std::string>& scopes);
|
oauth2_api_call_flow.cc | 39 const std::vector<std::string>& scopes) 43 scopes_(scopes),
|
/external/elfutils/src/ |
addr2line.c | 233 Dwarf_Die *scopes; local 234 int nscopes = dwarf_getscopes (cudie, addr - bias, &scopes); 239 switch (dwarf_tag (&scopes[i])) 243 const char *name = dwarf_diename (&scopes[i]); 252 const char *name = dwarf_diename (&scopes[i]); 262 if (dwarf_formudata (dwarf_attr (&scopes[i], 269 if (dwarf_formudata (dwarf_attr (&scopes[i], 273 if (dwarf_formudata (dwarf_attr (&scopes[i],
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
scopes.rb | 44 /* 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/extensions/api/identity/ |
identity_api.cc | 48 const char kInvalidScopes[] = "Invalid OAuth2 scopes."; 101 if (oauth2_info.scopes.size() == 0) { 109 std::set<std::string> scopes(oauth2_info.scopes.begin(), 110 oauth2_info.scopes.end()); 112 GetExtension()->id(), token_service->GetPrimaryAccountId(), scopes)); 198 std::set<std::string> scopes(oauth2_info.scopes.begin(), 199 oauth2_info.scopes.end()); 414 OAuth2TokenService::ScopeSet scopes; local [all...] |
/external/chromium_org/chrome/browser/signin/ |
signin_account_id_helper.cc | 62 OAuth2TokenService::ScopeSet scopes; local 63 scopes.insert("https://www.googleapis.com/auth/userinfo.profile"); 65 service->GetPrimaryAccountId(), scopes, this);
|
/external/elfutils/tests/ |
addrscopes.c | 110 Dwarf_Die *scopes; local 111 int n = dwarf_getscopes (cudie, pc - cubias, &scopes); 122 Dwarf_Die *const die = &scopes[n];
|
funcscopes.c | 129 Dwarf_Die *scopes; local 130 int n = dwarf_getscopes_die (funcdie, &scopes); 150 Dwarf_Die *const die = &scopes[n];
|
/external/chromium_org/v8/test/mjsunit/ |
debug-scopes.js | 79 // Check that the scope chain contains the expected types of scopes. 80 function CheckScopeChain(scopes, exec_state) { 81 assertEquals(scopes.length, exec_state.frame().scopeCount()); 82 for (var i = 0; i < scopes.length; i++) { 85 assertEquals(scopes[i], scope.scopeType()); 88 if (scopes[i] == debug.ScopeType.Global) { 98 // Send a scopes request and check the result. 100 var request_json = '{"seq":0,"type":"request","command":"scopes"}'; 103 assertEquals(scopes.length, response.body.scopes.length) [all...] |
/external/v8/test/mjsunit/ |
debug-scopes.js | 79 // Check that the scope chain contains the expected types of scopes. 80 function CheckScopeChain(scopes, exec_state) { 81 assertEquals(scopes.length, exec_state.frame().scopeCount()); 82 for (var i = 0; i < scopes.length; i++) { 85 assertEquals(scopes[i], scope.scopeType()); 88 if (scopes[i] == debug.ScopeType.Global) { 98 // Send a scopes request and check the result. 100 var request_json = '{"seq":0,"type":"request","command":"scopes"}'; 103 assertEquals(scopes.length, response.body.scopes.length) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCTP.h | 37 #pragma mark Dynamic Global Scopes 57 #pragma mark Dynamic Rule Scopes 58 #pragma mark Rule Return Scopes start 70 #pragma mark Rule return scopes end
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/ |
TreeRewriteParser.h | 16 #pragma mark Dynamic Global Scopes 17 #pragma mark Dynamic Rule Scopes 18 #pragma mark Rule Return Scopes start 48 #pragma mark Rule return scopes end
|
/external/chromium_org/google_apis/drive/ |
auth_service.h | 35 // |scopes| specifies OAuth2 scopes. 39 const std::vector<std::string>& scopes);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/compiler/ |
symbols.py | 214 self.scopes = {} 217 # node that define new scopes 220 scope = self.module = self.scopes[node] = ModuleScope() 234 self.scopes[node] = scope 245 self.scopes[node] = scope 276 self.scopes[node] = scope 302 self.scopes[node] = scope 435 names2 = s.scopes[tree].get_names() 445 d.update(s.scopes) 447 scopes = d.values( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/ |
symbols.py | 214 self.scopes = {} 217 # node that define new scopes 220 scope = self.module = self.scopes[node] = ModuleScope() 234 self.scopes[node] = scope 245 self.scopes[node] = scope 276 self.scopes[node] = scope 302 self.scopes[node] = scope 435 names2 = s.scopes[tree].get_names() 445 d.update(s.scopes) 447 scopes = d.values( [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
CombinedParser.m | 64 #pragma mark Dynamic Global Scopes 66 #pragma mark Dynamic Rule Scopes 68 #pragma mark Rule return scopes start
|