Index: chrome/browser/android/ntp/content_suggestions_notification_helper.cc |
diff --git a/chrome/browser/android/ntp/content_suggestions_notification_helper.cc b/chrome/browser/android/ntp/content_suggestions_notification_helper.cc |
index d0c9e2f376a776c4137d84b82a7c06843d427255..3afed6de2e56731bc8221f473e10a36e6d68b487 100644 |
--- a/chrome/browser/android/ntp/content_suggestions_notification_helper.cc |
+++ b/chrome/browser/android/ntp/content_suggestions_notification_helper.cc |
@@ -110,6 +110,20 @@ bool ContentSuggestionsNotificationHelper::Register(JNIEnv* env) { |
return RegisterNativesImpl(env); |
} |
+static void RecordNotificationOptOut(JNIEnv* env, |
+ const JavaParamRef<jclass>& class_object, |
+ jint reason) { |
+ RecordContentSuggestionsNotificationOptOut( |
+ static_cast<ContentSuggestionsNotificationOptOut>(reason)); |
+} |
+ |
+static void RecordNotificationAction(JNIEnv* env, |
+ const JavaParamRef<jclass>& class_object, |
+ jint action) { |
+ RecordContentSuggestionsNotificationAction( |
+ static_cast<ContentSuggestionsNotificationAction>(action)); |
+} |
+ |
static void ReceiveFlushedMetrics(JNIEnv* env, |
const JavaParamRef<jclass>& class_object, |
jint tap_count, |