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

Unified Diff: remoting/client/jni/jni_client.h

Issue 1472053003: jni: Pass method parameters as JavaParamRef in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | remoting/client/jni/jni_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_client.h
diff --git a/remoting/client/jni/jni_client.h b/remoting/client/jni/jni_client.h
index 56c6bc10773490d387fa069b0e1c392cdd852956..005ec1ca8a74e3586cbe4c1f09d97d4001298881 100644
--- a/remoting/client/jni/jni_client.h
+++ b/remoting/client/jni/jni_client.h
@@ -7,6 +7,7 @@
#include <jni.h>
+#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
namespace remoting {
@@ -19,7 +20,7 @@ class JniClient {
// Register C++ methods exposed to Java using JNI.
static bool RegisterJni(JNIEnv* env);
- void Destroy(JNIEnv* env, jobject caller);
+ void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& caller);
private:
DISALLOW_COPY_AND_ASSIGN(JniClient);
« no previous file with comments | « no previous file | remoting/client/jni/jni_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698