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

Unified Diff: device/test/run_all_unittests.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: device/test/run_all_unittests.cc
diff --git a/device/test/run_all_unittests.cc b/device/test/run_all_unittests.cc
index f890f15bd6a7f94ded529efaee75e5b8c408661d..7e5b0382d9278b80851cafba1fce0f02c41f6cfc 100644
--- a/device/test/run_all_unittests.cc
+++ b/device/test/run_all_unittests.cc
@@ -12,7 +12,6 @@
#include "base/android/jni_android.h"
#include "device/bluetooth/android/bluetooth_jni_registrar.h"
#include "device/geolocation/android/geolocation_jni_registrar.h"
-#include "device/power_save_blocker/power_save_blocker_jni_registrar.h"
#include "device/usb/android/usb_jni_registrar.h"
#endif
@@ -20,8 +19,6 @@ int main(int argc, char** argv) {
#if defined(OS_ANDROID)
device::android::RegisterBluetoothJni(base::android::AttachCurrentThread());
device::android::RegisterGeolocationJni(base::android::AttachCurrentThread());
- device::android::RegisterPowerSaveBlockerJni(
- base::android::AttachCurrentThread());
device::android::RegisterUsbJni(base::android::AttachCurrentThread());
#endif

Powered by Google App Engine
This is Rietveld 408576698