| Index: components/payments/payment_details_validation.h
|
| diff --git a/components/payments/payment_details_validation.h b/components/payments/payment_details_validation.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..43daa7475eb00b5fb032ce03bee3c01e42b37771
|
| --- /dev/null
|
| +++ b/components/payments/payment_details_validation.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2016 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_PAYMENT_DETAILS_VALIDATION_H_
|
| +#define COMPONENTS_PAYMENTS_PAYMENT_DETAILS_VALIDATION_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "components/payments/payment_request.mojom.h"
|
| +
|
| +namespace payments {
|
| +
|
| +bool validatePaymentDetails(const blink::mojom::PaymentDetailsPtr& details,
|
| + std::string* error_message);
|
| +
|
| +} // namespace payments
|
| +
|
| +#endif // COMPONENTS_PAYMENTS_PAYMENT_DETAILS_VALIDATION_H_
|
|
|