OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 "remoting/host/android/remoting_host_jni_registrar.h" | |
6 | |
7 #include "base/android/jni_android.h" | |
8 #include "base/android/jni_registrar.h" | |
9 #include "base/macros.h" | |
10 #include "remoting/host/android/jni_host.h" | |
11 | |
12 namespace remoting { | |
13 | |
14 namespace { | |
15 const base::android::RegistrationMethod kRemotingRegisteredMethods[] = { | |
16 {"JniHost", JniHost::RegisterJni}, | |
17 }; | |
18 } // namespace | |
19 | |
20 bool RegisterJni(JNIEnv* env) { | |
21 return RegisterNativeMethods(env, kRemotingRegisteredMethods, | |
22 arraysize(kRemotingRegisteredMethods)); | |
23 } | |
24 | |
25 } // namespace remoting | |
OLD | NEW |