| Index: components/payments/content/android/payment_details_validation_android.cc
|
| diff --git a/components/payments/content/android/payment_details_validation_android.cc b/components/payments/content/android/payment_details_validation_android.cc
|
| index 072dda083a40024d2a04f52f27816db23a513489..d5a516c8e0b767e9600fa8d32c2b4abcf89a158e 100644
|
| --- a/components/payments/content/android/payment_details_validation_android.cc
|
| +++ b/components/payments/content/android/payment_details_validation_android.cc
|
| @@ -1,12 +1,17 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// 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 "components/payments/content/android/payment_details_validation_android.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| +#include <cstring>
|
| #include <string>
|
| #include <utility>
|
| +#include <vector>
|
|
|
| +#include "base/android/jni_android.h"
|
| #include "components/payments/content/payment_details_validation.h"
|
| #include "components/payments/content/payment_request.mojom.h"
|
| #include "jni/PaymentValidator_jni.h"
|
| @@ -25,11 +30,11 @@ jboolean ValidatePaymentDetails(
|
| if (!mojom::PaymentDetails::Deserialize(std::move(mojo_buffer), &details))
|
| return false;
|
| std::string unused_error_message;
|
| - return payments::validatePaymentDetails(details, &unused_error_message);
|
| + return validatePaymentDetails(details, &unused_error_message);
|
| }
|
|
|
| -} // namespace payments
|
| -
|
| bool RegisterPaymentValidator(JNIEnv* env) {
|
| - return payments::RegisterNativesImpl(env);
|
| + return RegisterNativesImpl(env);
|
| }
|
| +
|
| +} // namespace payments
|
|
|