Home
last modified time | relevance | path

Searched refs:token_info (Results 1 – 11 of 11) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dindentation.py348 for token_info in self._stack:
349 token = token_info.token
352 if not token_info.overridden_by and token.string != 'return':
353 if token_info.is_block:
367 override_is_hard_stop = (token_info.overridden_by and
368 self._IsHardStop(token_info.overridden_by.token))
374 not token_info.overridden_by):
377 elif token.string == 'return' and not token_info.overridden_by:
386 elif token.IsOperator('?') and not token_info.overridden_by:
471 def _Add(self, token_info): argument
[all …]
/external/chromium_org/third_party/closure_linter/closure_linter/
Dindentation.py357 for token_info in self._stack:
358 token = token_info.token
361 if not token_info.overridden_by and token.string != 'return':
362 if token_info.is_block:
376 override_is_hard_stop = (token_info.overridden_by and
378 token_info.overridden_by.token))
384 not token_info.overridden_by):
387 elif token.string == 'return' and not token_info.overridden_by:
396 elif token.IsOperator('?') and not token_info.overridden_by:
460 def _Add(self, token_info): argument
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_manager_chromeos_browsertest.cc84 FakeGaia::AccessTokenInfo token_info; in SetupGaiaServerWithAccessTokens() local
85 token_info.token = kTestUserinfoToken; in SetupGaiaServerWithAccessTokens()
86 token_info.scopes.insert(GaiaConstants::kDeviceManagementServiceOAuth); in SetupGaiaServerWithAccessTokens()
87 token_info.scopes.insert(GaiaConstants::kOAuthWrapBridgeUserInfoScope); in SetupGaiaServerWithAccessTokens()
88 token_info.audience = GaiaUrls::GetInstance()->oauth2_chrome_client_id(); in SetupGaiaServerWithAccessTokens()
89 token_info.email = kAccountId; in SetupGaiaServerWithAccessTokens()
90 fake_gaia_->IssueOAuthToken(kTestRefreshToken, token_info); in SetupGaiaServerWithAccessTokens()
/external/chromium_org/google_apis/gaia/
Dfake_gaia.cc231 const AccessTokenInfo& token_info) { in IssueOAuthToken() argument
232 access_token_info_map_.insert(std::make_pair(auth_token, token_info)); in IssueOAuthToken()
495 const AccessTokenInfo* token_info = in HandleAuthToken() local
497 if (token_info) { in HandleAuthToken()
499 response_dict.SetString("access_token", token_info->token); in HandleAuthToken()
515 const AccessTokenInfo* token_info = NULL; in HandleTokenInfo() local
523 token_info = &(entry->second); in HandleTokenInfo()
529 if (token_info) { in HandleTokenInfo()
531 response_dict.SetString("issued_to", token_info->issued_to); in HandleTokenInfo()
532 response_dict.SetString("audience", token_info->audience); in HandleTokenInfo()
[all …]
Dgaia_oauth_client_unittest.cc222 void(const base::DictionaryValue* token_info));
224 scoped_ptr<base::DictionaryValue> token_info) OVERRIDE { in OnGetTokenInfoResponse() argument
225 token_info_.reset(token_info.release()); in OnGetTokenInfoResponse()
Dgaia_oauth_client.h55 scoped_ptr<base::DictionaryValue> token_info) {} in OnGetTokenInfoResponse() argument
Dfake_gaia.h104 const AccessTokenInfo& token_info);
/external/chromium_org/chrome/browser/policy/test/
Dpolicy_testserver.py373 token_info = self.server.RegisterDevice(device_id,
380 token_info['device_token'])
381 response.register_response.machine_name = token_info['machine_name']
382 response.register_response.enrollment_type = token_info['enrollment_mode']
443 token_info, error = self.CheckToken()
444 if not token_info:
449 self.server.UpdateStateKeys(token_info['device_token'],
472 self.ProcessCloudPolicy(request, token_info, fetch_response, username)
475 request, response.policy_response, token_info, username)
647 def ProcessCloudPolicyForExtensions(self, request, response, token_info, argument
[all …]
/external/chromium_org/components/signin/core/browser/
Dabout_signin_internals.cc367 scoped_ptr<base::DictionaryValue> token_info(new base::DictionaryValue()); in ToValue() local
368 token_info->SetString("service", consumer_id); in ToValue()
376 token_info->SetString("scopes", scopes_str); in ToValue()
377 token_info->SetString("request_time", GetTimeStr(request_time).c_str()); in ToValue()
380 token_info->SetString("status", "Token was revoked."); in ToValue()
393 token_info->SetString("status", status_str); in ToValue()
395 token_info->SetString( in ToValue()
400 token_info->SetString("status", "Waiting for response"); in ToValue()
403 return token_info.release(); in ToValue()
476 base::ListValue* token_info = new base::ListValue(); in ToValue() local
[all …]
/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_oauth2_token_service.cc122 scoped_ptr<base::DictionaryValue> token_info) { in OnGetTokenInfoResponse() argument
124 token_info->GetString("email", &gaia_robot_id); in OnGetTokenInfoResponse()
Ddevice_oauth2_token_service.h69 scoped_ptr<base::DictionaryValue> token_info) OVERRIDE;