Chromium Code Reviews| Index: chrome/browser/payments/android/payment_manifest_parser_android.cc |
| diff --git a/components/payments/content/android/payment_manifest_parser_android.cc b/chrome/browser/payments/android/payment_manifest_parser_android.cc |
| similarity index 94% |
| rename from components/payments/content/android/payment_manifest_parser_android.cc |
| rename to chrome/browser/payments/android/payment_manifest_parser_android.cc |
| index 65a3e26e4496a2c186467878ae5fd93662aaef06..9386cc34a7799fc75e64d42b042ba6abfde540ea 100644 |
| --- a/components/payments/content/android/payment_manifest_parser_android.cc |
| +++ b/chrome/browser/payments/android/payment_manifest_parser_android.cc |
| @@ -2,7 +2,7 @@ |
| // 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_manifest_parser_android.h" |
| +#include "chrome/browser/payments/android/payment_manifest_parser_android.h" |
| #include <stddef.h> |
| @@ -12,6 +12,7 @@ |
| #include "base/logging.h" |
| #include "base/memory/ptr_util.h" |
| #include "base/numerics/safe_conversions.h" |
| +#include "chrome/browser/payments/android/payment_manifest_web_data_service_android.h" |
| #include "jni/PaymentManifestParser_jni.h" |
| #include "url/gurl.h" |
| @@ -90,6 +91,9 @@ class ParseCallback { |
| // Can trigger synchronous deletion of PaymentManifestParserAndroid. |
| Java_ManifestParseCallback_onWebAppManifestParseSuccess(env, jcallback_, |
| jmanifest.obj()); |
| + |
| + // Cache parsed web app manifest. |
| + PaymentManifestWebDataServiceAndroid::AddPaymentWebAppManifest(manifest); |
|
please use gerrit instead
2017/04/24 18:22:31
Please cache the manifests from PaymentMethodVerif
gogerald1
2017/04/26 13:46:32
Done.
|
| } |
| private: |