Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4209)

Unified Diff: remoting/host/android/jni_host.h

Issue 1867433002: [remoting android] Add native library and JNI glue for host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/android/jni_host.h
diff --git a/remoting/client/jni/jni_client.h b/remoting/host/android/jni_host.h
similarity index 61%
copy from remoting/client/jni/jni_client.h
copy to remoting/host/android/jni_host.h
index 005ec1ca8a74e3586cbe4c1f09d97d4001298881..7705af1d5bb4e4490bea7dfca9a5826dee1034f1 100644
--- a/remoting/client/jni/jni_client.h
+++ b/remoting/host/android/jni_host.h
@@ -1,9 +1,9 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_CLIENT_JNI_JNI_CLIENT_H_
-#define REMOTING_CLIENT_JNI_JNI_CLIENT_H_
+#ifndef REMOTING_HOST_ANDROID_JNI_HOST_H_
+#define REMOTING_HOST_ANDROID_JNI_HOST_H_
#include <jni.h>
@@ -12,10 +12,10 @@
namespace remoting {
-class JniClient {
+class JniHost {
public:
- JniClient();
- ~JniClient();
+ JniHost();
+ ~JniHost();
// Register C++ methods exposed to Java using JNI.
static bool RegisterJni(JNIEnv* env);
@@ -23,9 +23,9 @@ class JniClient {
void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& caller);
private:
- DISALLOW_COPY_AND_ASSIGN(JniClient);
+ DISALLOW_COPY_AND_ASSIGN(JniHost);
};
} // namespace remoting
-#endif // REMOTING_CLIENT_JNI_JNI_CLIENT_H_
+#endif // REMOTING_HOST_ANDROID_JNI_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698