Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / remoting / client / jni / jni_client.cc
blob4af5d8620beb791fe4048ad35d6289d8cd47ef99
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"
9 namespace remoting {
11 JniClient::JniClient() {
14 JniClient::~JniClient() {
17 // static
18 bool JniClient::RegisterJni(JNIEnv* env) {
19 return RegisterNativesImpl(env);
22 void JniClient::Destroy(JNIEnv* env, jobject caller) {
23 delete this;
26 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& caller) {
27 return reinterpret_cast<intptr_t>(new JniClient());
30 } // namespace remoting