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

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

Issue 2629883004: [Payment Request] Update the CurrencyStringFormatter to call the native impl. (Closed)
Patch Set: Created 3 years, 11 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 d09a5839f3a90a3bb5d95619821ae13902a9b75a..8eed9112337edd86cbec2d43391cc85475a8e1cc 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -168,6 +168,7 @@
#include "components/gcm_driver/android/component_jni_registrar.h"
#include "components/gcm_driver/instance_id/android/component_jni_registrar.h"
#include "components/invalidation/impl/android/component_jni_registrar.h"
+#include "components/payments/android/currency_formatter_android.h"
#include "components/payments/android/payments_jni_registrar.h"
#include "components/policy/core/browser/android/component_jni_registrar.h"
#include "components/safe_browsing_db/android/jni_registrar.h"
@@ -271,6 +272,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"CreditCardScannerBridge",
autofill::CreditCardScannerViewAndroid::Register},
{"CtrSuppression", RegisterCtrSuppression},
+ {"CurrencyStringFormatter", payments::CurrencyFormatterAndroid::Register},
{"DataReductionPromoInfoBarDelegate",
DataReductionPromoInfoBarDelegateAndroid::Register},
{"DataReductionProxySettings", DataReductionProxySettingsAndroid::Register},

Powered by Google App Engine
This is Rietveld 408576698