OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_DETAILS_VALIDATION_H_ | 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_DETAILS_VALIDATION_H_ |
6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_DETAILS_VALIDATION_H_ | 6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_DETAILS_VALIDATION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "components/payments/content/payment_request.mojom.h" | 10 #include "components/payments/mojom/payment_request.mojom.h" |
11 | 11 |
12 namespace payments { | 12 namespace payments { |
13 | 13 |
14 bool validatePaymentDetails(const mojom::PaymentDetailsPtr& details, | 14 bool validatePaymentDetails(const mojom::PaymentDetailsPtr& details, |
15 std::string* error_message); | 15 std::string* error_message); |
16 | 16 |
17 } // namespace payments | 17 } // namespace payments |
18 | 18 |
19 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_DETAILS_VALIDATION_H_ | 19 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_DETAILS_VALIDATION_H_ |
OLD | NEW |