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/command_line.h"
10 #include "content/common/android/device_telephony_info.h"
11 #include "content/common/android/hash_set.h"
12 #include "content/common/android/trace_event_binding.h"
15 base::android::RegistrationMethod kContentRegisteredMethods
[] = {
16 { "CommandLine", RegisterCommandLine
},
17 { "DeviceTelephonyInfo",
18 content::DeviceTelephonyInfo::RegisterDeviceTelephonyInfo
},
19 { "HashSet", content::RegisterHashSet
},
20 { "TraceEvent", RegisterTraceEvent
},
28 bool RegisterCommonJni(JNIEnv
* env
) {
29 return RegisterNativeMethods(env
, kContentRegisteredMethods
,
30 arraysize(kContentRegisteredMethods
));
33 } // namespace android
34 } // namespace content