1 // Copyright 2015 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.
6 #include "remoting/client/jni/remoting_jni_registrar.h"
8 #include "base/android/jni_android.h"
9 #include "base/android/jni_registrar.h"
10 #include "base/macros.h"
11 #include "remoting/client/jni/chromoting_jni_runtime.h"
12 #include "remoting/client/jni/jni_client.h"
17 const base::android::RegistrationMethod kRemotingRegisteredMethods
[] = {
18 {"JniClient", JniClient::RegisterJni
},
19 {"ChromotingJniRuntime", RegisterChromotingJniRuntime
}
23 bool RegisterJni(JNIEnv
* env
) {
24 return RegisterNativeMethods(env
, kRemotingRegisteredMethods
,
25 arraysize(kRemotingRegisteredMethods
));
28 } // namespace remoting