1 // Copyright (c) 2012 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 "content/common/android/common_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "content/common/android/device_telephony_info.h"
10 #include "content/common/android/hash_set.h"
13 base::android::RegistrationMethod kContentRegisteredMethods
[] = {
14 { "DeviceTelephonyInfo",
15 content::DeviceTelephonyInfo::RegisterDeviceTelephonyInfo
},
16 { "HashSet", content::RegisterHashSet
},
24 bool RegisterCommonJni(JNIEnv
* env
) {
25 return RegisterNativeMethods(env
, kContentRegisteredMethods
,
26 arraysize(kContentRegisteredMethods
));
29 } // namespace android
30 } // namespace content