Home
last modified time | relevance | path

Searched refs:token_key (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/identity/
Dgaia_web_auth_flow.cc25 const ExtensionTokenKey* token_key, in GaiaWebAuthFlow() argument
30 account_id_(token_key->account_id) { in GaiaWebAuthFlow()
35 token_key->extension_id, in GaiaWebAuthFlow()
37 token_key->account_id); in GaiaWebAuthFlow()
52 std::vector<std::string> scopes(token_key->scopes.begin(), in GaiaWebAuthFlow()
53 token_key->scopes.end()); in GaiaWebAuthFlow()
66 token_key->extension_id.c_str()); in GaiaWebAuthFlow()
72 token_key->extension_id.c_str(), in GaiaWebAuthFlow()
74 token_key->extension_id.c_str(), in GaiaWebAuthFlow()
Dgaia_web_auth_flow_unittest.cc31 const ExtensionTokenKey* token_key, in TestGaiaWebAuthFlow() argument
34 : GaiaWebAuthFlow(delegate, NULL, token_key, oauth2_client_id, "en-us"), in TestGaiaWebAuthFlow()
76 ExtensionTokenKey token_key( in CreateTestFlow() local
79 &delegate_, &token_key, "fake.client.id", ubertoken_error_state_)); in CreateTestFlow()
Didentity_apitest.cc1540 const ExtensionTokenKey* token_key = func->GetExtensionTokenKeyForTest(); in IN_PROC_BROWSER_TEST_F() local
1541 EXPECT_EQ(2ul, token_key->scopes.size()); in IN_PROC_BROWSER_TEST_F()
1542 EXPECT_TRUE(ContainsKey(token_key->scopes, "scope1")); in IN_PROC_BROWSER_TEST_F()
1543 EXPECT_TRUE(ContainsKey(token_key->scopes, "scope2")); in IN_PROC_BROWSER_TEST_F()
1569 const ExtensionTokenKey* token_key = func->GetExtensionTokenKeyForTest(); in IN_PROC_BROWSER_TEST_F() local
1570 EXPECT_EQ(1ul, token_key->scopes.size()); in IN_PROC_BROWSER_TEST_F()
1571 EXPECT_TRUE(ContainsKey(token_key->scopes, "email")); in IN_PROC_BROWSER_TEST_F()
1586 const ExtensionTokenKey* token_key = func->GetExtensionTokenKeyForTest(); in IN_PROC_BROWSER_TEST_F() local
1587 EXPECT_EQ(3ul, token_key->scopes.size()); in IN_PROC_BROWSER_TEST_F()
1588 EXPECT_TRUE(ContainsKey(token_key->scopes, "email")); in IN_PROC_BROWSER_TEST_F()
[all …]
Dgaia_web_auth_flow.h64 const ExtensionTokenKey* token_key,
/external/chromium_org/google_apis/gaia/
Doauth_request_signer.cc243 const std::string& token_key) { in PrepareParameters() argument
253 (*parameters)[kOAuthTokenLabel] = token_key; in PrepareParameters()
264 const std::string& token_key, in SignParameters() argument
269 consumer_key, token_key); in SignParameters()
369 const std::string& token_key, in ParseAndSign() argument
387 http_method, consumer_key, consumer_secret, token_key, in ParseAndSign()
399 const std::string& token_key, in SignURL() argument
406 token_key, token_secret, &parameters); in SignURL()
432 const std::string& token_key, in SignAuthHeader() argument
439 token_key, token_secret, &parameters); in SignAuthHeader()
Doauth_request_signer.h63 const std::string& token_key,
80 const std::string& token_key,
92 const std::string& token_key,
/external/chromium_org/sandbox/win/src/
Dbroker_services.cc346 uint32_t token_key = GenerateTokenCacheKey(policy_base); in SpawnTarget() local
347 TokenCacheMap::iterator it = token_cache_.find(token_key); in SpawnTarget()
356 token_cache_[token_key] = in SpawnTarget()