blob: 0ca0205022c01c2855c00894f594bef9114b1b37 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PAYMENTS_CORE_PAYMENT_ADDRESS_H_
#define COMPONENTS_PAYMENTS_CORE_PAYMENT_ADDRESS_H_
#include "components/payments/mojom/payment_request_data.mojom.h"
// C++ bindings for the PaymentRequest API PaymentAddress. Conforms to the
// following spec:
// https://w3c.github.io/payment-request/#dom-paymentaddress
namespace base {
class Value;
}
namespace payments {
// Populates |value| with the properties of this PaymentAddress.
base::Value PaymentAddressToValue(const mojom::PaymentAddress& address);
} // namespace payments
#endif // COMPONENTS_PAYMENTS_CORE_PAYMENT_ADDRESS_H_