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

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

Issue 1928813002: Adds initial JNI bridge code for Background Scheduler implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 d599c6b5ca010c452b359291cd6ed301bd312c1f..323891bb6846b4b96de479f5beb452e6ba4f9957 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -63,6 +63,7 @@
#include "chrome/browser/android/ntp/new_tab_page_prefs.h"
#include "chrome/browser/android/ntp/ntp_snippets_bridge.h"
#include "chrome/browser/android/ntp/ntp_snippets_launcher.h"
+#include "chrome/browser/android/offline_pages/background_scheduler_bridge.h"
#include "chrome/browser/android/offline_pages/offline_page_bridge.h"
#include "chrome/browser/android/omnibox/answers_image_bridge.h"
#include "chrome/browser/android/omnibox/autocomplete_controller_android.h"
@@ -227,6 +228,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid},
{"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge},
{"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController},
+ {"BackgroundSchedulerBridge",
+ offline_pages::android::RegisterBackgroundSchedulerBridge},
{"BackgroundSyncLauncherAndroid",
BackgroundSyncLauncherAndroid::RegisterLauncher},
{"BluetoothChooserAndroid", BluetoothChooserAndroid::Register},

Powered by Google App Engine
This is Rietveld 408576698