Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 2645813006: Download web payment manifests. (Closed)
Patch Set: At most INT_MAX sections in manifest and fingperints in section Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index 4c4df8699480315772cc4759467d756010a3524e..2119cd7534985e81e63fc4f99e707f86bafef2d8 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -170,6 +170,8 @@
#include "components/invalidation/impl/android/component_jni_registrar.h"
#include "components/payments/content/android/currency_formatter_android.h"
#include "components/payments/content/android/payment_details_validation_android.h"
+#include "components/payments/content/android/payment_manifest_downloader_android.h"
+#include "components/payments/content/android/payment_manifest_parser_android.h"
#include "components/policy/core/browser/android/component_jni_registrar.h"
#include "components/safe_browsing_db/android/jni_registrar.h"
#include "components/safe_json/android/component_jni_registrar.h"
@@ -343,7 +345,9 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
autofill::PasswordGenerationPopupViewAndroid::Register},
{"PasswordUIViewAndroid",
PasswordUIViewAndroid::RegisterPasswordUIViewAndroid},
- {"PaymentValidator", RegisterPaymentValidator},
+ {"PaymentManifestDownloader", payments::RegisterPaymentManifestDownloader},
+ {"PaymentManifestParser", payments::RegisterPaymentManifestParser},
+ {"PaymentValidator", payments::RegisterPaymentValidator},
{"PermissionDialogDelegate",
PermissionDialogDelegate::RegisterPermissionDialogDelegate},
{"PermissionUpdateInfoBarDelegate",

Powered by Google App Engine
This is Rietveld 408576698