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.
5 #include "remoting/client/jni/jni_client.h"
7 #include "jni/Client_jni.h"
11 JniClient::JniClient() {
14 JniClient::~JniClient() {
18 bool JniClient::RegisterJni(JNIEnv
* env
) {
19 return RegisterNativesImpl(env
);
22 void JniClient::Destroy(JNIEnv
* env
, jobject caller
) {
26 static jlong
Init(JNIEnv
* env
, const JavaParamRef
<jobject
>& caller
) {
27 return reinterpret_cast<intptr_t>(new JniClient());
30 } // namespace remoting