| Index: components/payments/content/payment_details_validation.cc
|
| diff --git a/components/payments/payment_details_validation.cc b/components/payments/content/payment_details_validation.cc
|
| similarity index 96%
|
| rename from components/payments/payment_details_validation.cc
|
| rename to components/payments/content/payment_details_validation.cc
|
| index 5fce52febfc8f32b98308cd7a6c3eae4601c19d2..3933c1c3337b9d0ef0239913cd2e8abffd476cee 100644
|
| --- a/components/payments/payment_details_validation.cc
|
| +++ b/components/payments/content/payment_details_validation.cc
|
| @@ -2,14 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/payments/payment_details_validation.h"
|
| +#include "components/payments/content/payment_details_validation.h"
|
|
|
| #include <set>
|
| #include <vector>
|
|
|
| -#include "components/payments/payment_request.mojom.h"
|
| -#include "components/payments/payments_validators.h"
|
| +#include "components/payments/content/payment_request.mojom.h"
|
| +#include "components/payments/content/payments_validators.h"
|
|
|
| +namespace payments {
|
| namespace {
|
|
|
| // Validates ShippingOption or PaymentItem, which happen to have identical
|
| @@ -139,8 +140,6 @@ bool validatePaymentDetailsModifiers(
|
|
|
| } // namespace
|
|
|
| -namespace payments {
|
| -
|
| bool validatePaymentDetails(const mojom::PaymentDetailsPtr& details,
|
| std::string* error_message) {
|
| if (details->total.is_null()) {
|
|
|