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

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

Issue 2750103005: [Payments] Move journey logger to native. (Closed)
Patch Set: Addressed comments Created 3 years, 9 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 ed3003c5309af8c22540f2ebf28006aeacd6c7f7..568232586121e064df040250526675ea03b1b92f 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -172,6 +172,7 @@
#include "components/gcm_driver/instance_id/android/component_jni_registrar.h"
#include "components/invalidation/impl/android/component_jni_registrar.h"
#include "components/payments/content/android/currency_formatter_android.h"
+#include "components/payments/content/android/journey_logger_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"
@@ -315,6 +316,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"ShortcutHelper", ShortcutHelper::RegisterShortcutHelper},
{"JavascriptAppModalDialog",
JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog},
+ {"JourneyLogger", payments::JourneyLoggerAndroid::Register},
{"LargeIconBridge", LargeIconBridge::RegisterLargeIconBridge},
{"LaunchMetrics", metrics::RegisterLaunchMetrics},
{"LayerTitleCache", RegisterLayerTitleCache},

Powered by Google App Engine
This is Rietveld 408576698