#include "components/autofill/core/browser/payments/payments_requests/select_challenge_option_request.h"
#include "base/functional/bind.h"
#include "base/json/json_writer.h"
#include "base/values.h"
#include "components/autofill/core/browser/payments/payments_network_interface.h"
namespace autofill {
namespace payments {
namespace {
const char kSelectChallengeOptionRequestPath[] = …;
}
SelectChallengeOptionRequest::SelectChallengeOptionRequest(
PaymentsNetworkInterface::SelectChallengeOptionRequestDetails
request_details,
base::OnceCallback<void(payments::PaymentsAutofillClient::PaymentsRpcResult,
const std::string&)> callback)
: … { … }
SelectChallengeOptionRequest::~SelectChallengeOptionRequest() = default;
std::string SelectChallengeOptionRequest::GetRequestUrlPath() { … }
std::string SelectChallengeOptionRequest::GetRequestContentType() { … }
std::string SelectChallengeOptionRequest::GetRequestContent() { … }
void SelectChallengeOptionRequest::ParseResponse(
const base::Value::Dict& response) { … }
bool SelectChallengeOptionRequest::IsResponseComplete() { … }
void SelectChallengeOptionRequest::RespondToDelegate(
payments::PaymentsAutofillClient::PaymentsRpcResult result) { … }
}
}