Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / common / android / common_jni_registrar.cc
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.
4
5 #include "content/common/android/common_jni_registrar.h"
6
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "content/common/android/hash_set.h"
10
11 namespace {
12 base::android::RegistrationMethod kContentRegisteredMethods[] = {
13   { "HashSet", content::RegisterHashSet },
14 };
15
16 }  // namespace
17
18 namespace content {
19 namespace android {
20
21 bool RegisterCommonJni(JNIEnv* env) {
22   return RegisterNativeMethods(env, kContentRegisteredMethods,
23                                arraysize(kContentRegisteredMethods));
24 }
25
26 }  // namespace android
27 }  // namespace content