chromium/components/autofill/core/browser/payments/payments_requests/upload_card_request.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/browser/payments/payments_requests/upload_card_request.h"

#include <string>
#include <string_view>

#include "base/feature_list.h"
#include "base/json/json_writer.h"
#include "base/strings/escape.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/autofill_payments_features.h"

namespace autofill::payments {

namespace {
const char kUploadCardRequestPath[] =;
const char kUploadCardRequestFormat[] =;
const char kUploadCardRequestFormatWithoutCvc[] =;
}  // namespace

UploadCardRequest::UploadCardRequest(
    const PaymentsNetworkInterface::UploadCardRequestDetails& request_details,
    const bool full_sync_enabled,
    base::OnceCallback<void(
        PaymentsAutofillClient::PaymentsRpcResult,
        const PaymentsNetworkInterface::UploadCardResponseDetails&)> callback)
    :{}

UploadCardRequest::~UploadCardRequest() = default;

std::string UploadCardRequest::GetRequestUrlPath() {}

std::string UploadCardRequest::GetRequestContentType() {}

std::string UploadCardRequest::GetRequestContent() {}

void UploadCardRequest::ParseResponse(const base::Value::Dict& response) {}

bool UploadCardRequest::IsResponseComplete() {}

void UploadCardRequest::RespondToDelegate(
    PaymentsAutofillClient::PaymentsRpcResult result) {}

std::string UploadCardRequest::GetHistogramName() const {}

std::optional<base::TimeDelta> UploadCardRequest::GetTimeout() const {}

}  // namespace autofill::payments