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

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

Issue 1396443002: Add the JNI code in order to let Java use the InterestsFetcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 019a40308a037d8c6f391cab4c3128f62ae65eb5..0804a038e01e26c0ff0def09f48140a55fa12b60 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -42,6 +42,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"
@@ -255,6 +256,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