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

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

Issue 2844033002: 📰 Move metrics and scheduling events out of SnippetsBridge (Closed)
Patch Set: rebase, address comment Created 3 years, 8 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/ntp/ntp_snippets_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 57356197b8f6834422e19a849ef00a590b3b25cb..c53a846eeea8b482bb5d1d6900df9ee8f715f559 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -73,6 +73,7 @@
#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"
+#include "chrome/browser/android/ntp/suggestions_event_reporter_bridge.h"
#include "chrome/browser/android/offline_pages/background_scheduler_bridge.h"
#include "chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.h"
#include "chrome/browser/android/offline_pages/offline_page_bridge.h"
@@ -412,6 +413,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
chrome::android::RegisterSSLClientCertificateRequestAndroid},
{"StartupMetricUtils", chrome::android::RegisterStartupMetricUtils},
{"StaticTabSceneLayer", RegisterStaticTabSceneLayer},
+ {"SuggestionsEventReporterBridge", RegisterSuggestionsEventReporterBridge},
{"SupervisedUserContentProvider", SupervisedUserContentProvider::Register},
{"Sync", syncer::RegisterSyncJni},
{"SyncSessionsMetrics", SyncSessionsMetricsAndroid::Register},
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/ntp/ntp_snippets_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698