Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / device / battery / android / battery_jni_registrar.cc
blob91da4613c946e75eb329598937e101a2c7ead0f3
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/battery/android/battery_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "device/battery/battery_status_manager_android.h"
11 namespace device {
12 namespace android {
13 namespace {
15 base::android::RegistrationMethod kRegisteredMethods[] = {
16 { "BatteryStatusManager", BatteryStatusManagerAndroid::Register },
19 } // namespace
21 bool RegisterBatteryJni(JNIEnv* env) {
22 return RegisterNativeMethods(
23 env, kRegisteredMethods, arraysize(kRegisteredMethods));
26 } // namespace android
27 } // namespace device