HomeSort by relevance Sort by last modified time
    Searched defs:scopes (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/chromium_org/chrome/browser/extensions/api/identity/
extension_token_key.h 16 const std::set<std::string>& scopes);
21 std::set<std::string> scopes; member in struct:extensions::ExtensionTokenKey
  /art/compiler/utils/
scoped_hashtable.h 29 explicit ScopedHashtable():scopes() {
33 scopes.push_front(std::map<K, V>());
39 for (typename std::list<std::map<K, V>>::const_iterator scopes_it = scopes.begin();
40 scopes_it != scopes.end(); scopes_it++) {
51 scopes.front().erase(k);
52 scopes.front().insert(std::pair< K, V >(k, v));
58 // when removing scope and the list of scopes is empty.
59 if (scopes.size() > 0) {
60 scopes.pop_front();
67 std::list<std::map<K, V>> scopes; member in class:utils::ScopedHashtable
    [all...]
  /external/chromium_org/chrome/common/extensions/api/identity/
oauth2_manifest_handler.h 23 std::vector<std::string> scopes; member in struct:extensions::OAuth2Info
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/
ubertoken_fetcher.cc 32 OAuth2TokenService::ScopeSet scopes; local
33 scopes.insert(GaiaConstants::kOAuth1LoginScope);
35 token_service_->StartRequest(account_id, scopes, this);
fake_oauth2_token_service.h 46 const ScopeSet& scopes) OVERRIDE;
50 const ScopeSet& scopes,
64 ScopeSet scopes; member in struct:FakeOAuth2TokenService::PendingRequest
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));
fake_gaia.h 45 ScopeSet scopes; member in struct:FakeGaia::AccessTokenInfo
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) {
117 scopes)).Times(1);
141 const std::vector<std::string>& scopes) {
    [all...]
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
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)));
  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_token_forwarder.cc 91 OAuth2TokenService::ScopeSet scopes; local
92 scopes.insert(GaiaConstants::kDeviceManagementServiceOAuth);
93 scopes.insert(GaiaConstants::kOAuthWrapBridgeUserInfoScope);
95 signin_manager_->GetAuthenticatedAccountId(), scopes, this);
policy_oauth2_token_fetcher.cc 58 std::vector<std::string> scopes; local
59 scopes.push_back(GaiaConstants::kDeviceManagementServiceOAuth);
60 scopes.push_back(GaiaConstants::kOAuthWrapBridgeUserInfoScope);
68 scopes);
  /external/chromium_org/chrome/browser/signin/
fake_profile_oauth2_token_service.h 33 // ScopeSet scopes;
34 // scopes.insert(GaiaConstants::kYourServiceScope);
35 // IssueTokenForScope(scopes, "access_token", base::Time()::Max());
38 // IssueErrorForScope(scopes, GoogleServiceAuthError(INVALID_GAIA_CREDENTIALS));
54 ScopeSet scopes; member in struct:FakeProfileOAuth2TokenService::PendingRequest
101 void IssueTokenForScope(const ScopeSet& scopes,
105 void IssueErrorForScope(const ScopeSet& scopes,
124 const ScopeSet& scopes) OVERRIDE;
133 const ScopeSet& scopes,
141 // matching |scopes| are completed. If |account_id| is empty, then pendin
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/
identity_internals_ui_browsertest.cc 31 std::vector<std::string> scopes; local
32 scopes.push_back(std::string("scope_1_") + token_number);
33 scopes.push_back(std::string("scope_2_") + token_number);
34 AddTokenToCache(token_id, extension_id, scopes, kOneHour);
39 std::vector<std::string> scopes; local
40 scopes.push_back(std::string("store_scope1"));
41 scopes.push_back(std::string("store_scope2"));
42 AddTokenToCache("store_token", kChromeWebStoreId, scopes, kOneHour);
48 const std::vector<std::string>& scopes,
56 std::set<std::string>(scopes.begin(), scopes.end()))
    [all...]
  /external/libnl/lib/route/
rtnl.c 87 static struct trans_tbl scopes[] = { variable in typeref:struct:trans_tbl
97 return __type2str(scope, buf, size, scopes, ARRAY_SIZE(scopes));
102 return __str2type(name, scopes, ARRAY_SIZE(scopes));
  /external/chromium_org/chrome/browser/extensions/api/push_messaging/
obfuscated_gaia_id_fetcher.cc 60 // 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/signin/core/browser/
account_service_flag_fetcher.cc 63 OAuth2TokenService::ScopeSet scopes; local
64 scopes.insert(GaiaConstants::kOAuth1LoginScope);
66 account_id_, scopes, this);
about_signin_internals.h 88 const OAuth2TokenService::ScopeSet& scopes) OVERRIDE;
92 const OAuth2TokenService::ScopeSet& scopes,
96 const OAuth2TokenService::ScopeSet& scopes)
106 const OAuth2TokenService::ScopeSet& scopes);
116 OAuth2TokenService::ScopeSet scopes; // Scoped that are requested. member in struct:AboutSigninInternals::TokenInfo
140 const OAuth2TokenService::ScopeSet& scopes);
154 // "scopes" : requested scoped,
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/elfutils/0.153/libdw/
dwarf_getscopes.c 63 Dwarf_Die *scopes; member in struct:args
74 if (a->scopes != NULL)
115 function of which A->scopes[A->nscopes - 1] is a concrete instance.
119 Dwarf_Die *scopes = realloc (a->scopes, nscopes * sizeof scopes[0]); local
120 if (scopes == NULL)
122 free (a->scopes);
127 a->scopes = scopes;
    [all...]
  /external/chromium_org/chrome/browser/supervised_user/
permission_request_creator_apiary.cc 73 OAuth2TokenService::ScopeSet scopes; local
74 scopes.insert(signin_wrapper_->GetSyncScopeToUse());
76 signin_wrapper_->GetAccountIdToUse(), scopes, this);
128 OAuth2TokenService::ScopeSet scopes; local
129 scopes.insert(signin_wrapper_->GetSyncScopeToUse());
131 signin_wrapper_->GetAccountIdToUse(), scopes, access_token_);
  /external/chromium_org/chrome/browser/chromeos/login/signin/
oauth2_login_verifier.cc 103 OAuth2TokenService::ScopeSet scopes; local
104 scopes.insert(GaiaConstants::kOAuth1LoginScope);
112 scopes,
  /external/chromium_org/chrome/browser/chromeos/settings/
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);
357 scoped_request->scopes);
  /external/chromium_org/components/policy/core/common/cloud/
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;

Completed in 711 milliseconds

1 2 3 4