Update V8 to version 4.7.20.
[chromium-blink-merge.git] / content / shell / android / shell_jni_registrar.cc
blob65628733b7b9a2934c8ce411fd333397a5e4e668
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/shell/android/shell_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "content/shell/android/shell_manager.h"
10 #include "content/shell/browser/shell.h"
11 #include "content/shell/browser/shell_mojo_test_utils_android.h"
13 namespace {
15 static base::android::RegistrationMethod kShellRegistrationMethods[] = {
16 {"Shell", content::Shell::Register},
17 {"ShellManager", content::RegisterShellManager},
18 {"ShellMojoTestUtils", content::RegisterShellMojoTestUtils},
21 } // namespace
23 namespace content {
24 namespace android {
26 bool RegisterShellJni(JNIEnv* env) {
27 return RegisterNativeMethods(env, kShellRegistrationMethods,
28 arraysize(kShellRegistrationMethods));
31 } // namespace android
32 } // namespace content