Lines Matching defs:WalletClient
55 WalletClient::RiskCapability risk_capability) {
57 case WalletClient::RELOGIN:
59 case WalletClient::VERIFY_CVC:
66 WalletClient::ErrorType StringToErrorType(const std::string& error_type) {
70 return WalletClient::BUYER_ACCOUNT_ERROR;
72 return WalletClient::UNSUPPORTED_MERCHANT;
74 return WalletClient::INTERNAL_ERROR;
76 return WalletClient::INVALID_PARAMS;
78 return WalletClient::SERVICE_UNAVAILABLE;
80 return WalletClient::UNSUPPORTED_API_VERSION;
82 return WalletClient::UNSUPPORTED_USER_AGENT_OR_API_KEY;
85 return WalletClient::UNKNOWN_ERROR;
88 // Get the more specific WalletClient::ErrorType when the error is
90 WalletClient::ErrorType BuyerErrorStringToErrorType(
95 return WalletClient::BUYER_LEGAL_ADDRESS_NOT_SUPPORTED;
97 return WalletClient::UNVERIFIED_KNOW_YOUR_CUSTOMER_STATUS;
99 return WalletClient::BUYER_ACCOUNT_ERROR;
143 WalletClient::ErrorType error_type) {
145 case WalletClient::BAD_REQUEST:
147 case WalletClient::BUYER_LEGAL_ADDRESS_NOT_SUPPORTED:
149 case WalletClient::BUYER_ACCOUNT_ERROR:
151 case WalletClient::INTERNAL_ERROR:
153 case WalletClient::INVALID_PARAMS:
155 case WalletClient::UNVERIFIED_KNOW_YOUR_CUSTOMER_STATUS:
157 case WalletClient::SERVICE_UNAVAILABLE:
159 case WalletClient::UNSUPPORTED_API_VERSION:
161 case WalletClient::UNSUPPORTED_MERCHANT:
163 case WalletClient::MALFORMED_RESPONSE:
165 case WalletClient::NETWORK_ERROR:
167 case WalletClient::UNKNOWN_ERROR:
169 case WalletClient::UNSUPPORTED_USER_AGENT_OR_API_KEY:
240 WalletClient::FullWalletRequest::FullWalletRequest(
252 WalletClient::FullWalletRequest::~FullWalletRequest() {}
254 WalletClient::WalletClient(net::URLRequestContextGetter* context_getter,
268 WalletClient::~WalletClient() {}
270 void WalletClient::AcceptLegalDocuments(
283 void WalletClient::AuthenticateInstrument(
308 void WalletClient::GetFullWallet(const FullWalletRequest& full_wallet_request) {
356 void WalletClient::SaveToWallet(
456 void WalletClient::GetWalletItems() {
475 bool WalletClient::HasRequestInProgress() const {
479 void WalletClient::CancelRequest() {
484 void WalletClient::SetUserIndex(size_t user_index) {
489 void WalletClient::DoAcceptLegalDocuments(
514 void WalletClient::MakeWalletRequest(const GURL& url,
540 void WalletClient::OnURLFetchComplete(
587 WalletClient::ErrorType error_type =
693 void WalletClient::HandleMalformedResponse(RequestType request_type,
703 void WalletClient::HandleWalletError(WalletClient::ErrorType error_type) {
706 case WalletClient::BAD_REQUEST:
709 case WalletClient::BUYER_LEGAL_ADDRESS_NOT_SUPPORTED:
712 case WalletClient::BUYER_ACCOUNT_ERROR:
715 case WalletClient::INTERNAL_ERROR:
718 case WalletClient::INVALID_PARAMS:
721 case WalletClient::UNVERIFIED_KNOW_YOUR_CUSTOMER_STATUS:
724 case WalletClient::SERVICE_UNAVAILABLE:
727 case WalletClient::UNSUPPORTED_API_VERSION:
730 case WalletClient::UNSUPPORTED_MERCHANT:
733 case WalletClient::MALFORMED_RESPONSE:
736 case WalletClient::NETWORK_ERROR:
739 case WalletClient::UNKNOWN_ERROR:
742 case WalletClient::UNSUPPORTED_USER_AGENT_OR_API_KEY:
755 void WalletClient::LogRequiredActions(
763 AutofillMetrics::WalletApiCallMetric WalletClient::RequestTypeToUmaMetric(