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

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

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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/background_sync_launcher_android.cc
diff --git a/chrome/browser/android/background_sync_launcher_android.cc b/chrome/browser/android/background_sync_launcher_android.cc
index 1b976f3f60261f114d90126204d6c799336ac70e..7ca787a331a49e1d1076c1c17557854400b09e14 100644
--- a/chrome/browser/android/background_sync_launcher_android.cc
+++ b/chrome/browser/android/background_sync_launcher_android.cc
@@ -49,11 +49,6 @@ void BackgroundSyncLauncherAndroid::LaunchBrowserIfStoppedImpl(
}
// static
-bool BackgroundSyncLauncherAndroid::RegisterLauncher(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-// static
void BackgroundSyncLauncherAndroid::SetPlayServicesVersionCheckDisabledForTests(
bool disabled) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);

Powered by Google App Engine
This is Rietveld 408576698