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

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

Issue 1334233003: Add the JNI code in order to let Java use the InterestsFetcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ntp-interests-retriever
Patch Set: Fix some of the comments Created 5 years, 2 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 3572ef8c258ac26cabaa1c984dd9d43f07cc0f84..434f58133f3bc8dd54167c6d5f3b0e890661cc37 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -43,6 +43,7 @@
#include "chrome/browser/android/fullscreen/fullscreen_infobar_delegate.h"
#include "chrome/browser/android/history_report/history_report_jni_bridge.h"
#include "chrome/browser/android/intent_helper.h"
+#include "chrome/browser/android/interests_service.h"
#include "chrome/browser/android/java_exception_reporter.h"
#include "chrome/browser/android/large_icon_bridge.h"
#include "chrome/browser/android/location_settings_impl.h"
@@ -257,6 +258,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
RegisterGeneratedPasswordSavedInfoBarDelegate},
{"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge},
{"InfoBarContainer", RegisterInfoBarContainer},
+ {"InterestsService", InterestsService::Register},
{"InvalidationServiceFactory",
invalidation::InvalidationServiceFactoryAndroid::Register},
{"ShortcutHelper", ShortcutHelper::RegisterShortcutHelper},

Powered by Google App Engine
This is Rietveld 408576698