Add ICU message format support
[chromium-blink-merge.git] / device / vibration / android / vibration_jni_registrar.cc
blob39003bf255de2270af263df5346dde1b383694d2
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"
11 namespace device {
12 namespace android {
13 namespace {
15 const base::android::RegistrationMethod kRegisteredMethods[] = {
16 { "VibrationProvider", device::VibrationManagerImplAndroid::Register },
19 } // namespace
21 bool RegisterVibrationJni(JNIEnv* env) {
22 return RegisterNativeMethods(
23 env, kRegisteredMethods, arraysize(kRegisteredMethods));
26 } // namespace android
27 } // namespace device