blob: bb4147c92d25c255d7bbbfc96a1780a209f90375 [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.
#include <memory>
#include <vector>
#include "base/strings/string16.h"
#include "components/payments/mojom/payment_request_data.mojom.h"
// C++ bindings for the PaymentRequest API PaymentAddress. Conforms to the
// following spec:
namespace base {
class DictionaryValue;
namespace payments {
// Populates |value| with the properties of this PaymentAddress.
std::unique_ptr<base::DictionaryValue> PaymentAddressToDictionaryValue(
const mojom::PaymentAddress& address);
} // namespace payments