Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / remoting / client / jni / jni_client.h
blob56c6bc10773490d387fa069b0e1c392cdd852956
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 #ifndef REMOTING_CLIENT_JNI_JNI_CLIENT_H_
6 #define REMOTING_CLIENT_JNI_JNI_CLIENT_H_
8 #include <jni.h>
10 #include "base/macros.h"
12 namespace remoting {
14 class JniClient {
15 public:
16 JniClient();
17 ~JniClient();
19 // Register C++ methods exposed to Java using JNI.
20 static bool RegisterJni(JNIEnv* env);
22 void Destroy(JNIEnv* env, jobject caller);
24 private:
25 DISALLOW_COPY_AND_ASSIGN(JniClient);
28 } // namespace remoting
30 #endif // REMOTING_CLIENT_JNI_JNI_CLIENT_H_