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

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

Issue 2626643002: Stop showing notifications if they're ignored (Closed)
Patch Set: Formatting, explicit 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 ca618cb1e531cd8532c367013d4b4bf2c6fdfa32..96fac42005df41eda8b189931733f627eaaffad4 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -66,6 +66,7 @@
#include "chrome/browser/android/metrics/uma_utils.h"
#include "chrome/browser/android/metrics/variations_session.h"
#include "chrome/browser/android/net/external_estimate_provider_android.h"
+#include "chrome/browser/android/ntp/content_suggestions_notification_helper.h"
#include "chrome/browser/android/ntp/most_visited_sites_bridge.h"
#include "chrome/browser/android/ntp/ntp_snippets_bridge.h"
#include "chrome/browser/android/ntp/recent_tabs_page_prefs.h"
@@ -267,6 +268,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid},
{"SecurityStateModel", RegisterSecurityStateModelAndroid},
{"ConnectivityChecker", chrome::android::RegisterConnectivityChecker},
+ {"ContentSuggestionsNotificationHelper",
+ ntp_snippets::ContentSuggestionsNotificationHelper::Register},
{"ContextMenuHelper", RegisterContextMenuHelper},
{"ContextualSearchManager", RegisterContextualSearchManager},
{"ContextualSearchSceneLayer", RegisterContextualSearchSceneLayer},

Powered by Google App Engine
This is Rietveld 408576698