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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 641703002: Rewrite the Android implementation of BatteryMonitor directly in Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@battery-status-api-to-mojo
Patch Set: Address Ben's comments, update GN build, polish. Created 6 years 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: content/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index 36078694cd46e9ed16cfeda6cda7315ee1e792e6..6c16506c8e54142c6bb8e724e91b7c7eb6a14820 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -22,7 +22,6 @@
#include "content/common/content_constants_internal.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/result_codes.h"
-#include "device/battery/android/battery_jni_registrar.h"
#include "device/vibration/android/vibration_jni_registrar.h"
#include "media/base/android/media_jni_registrar.h"
#include "net/android/net_jni_registrar.h"
@@ -65,9 +64,6 @@ bool EnsureJniRegistered(JNIEnv* env) {
if (!content::android::RegisterAppJni(env))
return false;
- if (!device::android::RegisterBatteryJni(env))
- return false;
-
if (!device::android::RegisterVibrationJni(env))
return false;
« no previous file with comments | « no previous file | content/browser/android/browser_jni_registrar.cc » ('j') | content/browser/mojo/mojo_application_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698