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/vibration/android/vibration_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "device/vibration/vibration_manager_impl_android.h"
15 const base::android::RegistrationMethod kRegisteredMethods
[] = {
16 { "VibrationProvider", device::VibrationManagerImplAndroid::Register
},
21 bool RegisterVibrationJni(JNIEnv
* env
) {
22 return RegisterNativeMethods(
23 env
, kRegisteredMethods
, arraysize(kRegisteredMethods
));
26 } // namespace android