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

Unified Diff: base/android/java_handler_thread.h

Issue 1476403003: jni: Pass method parameters as JavaParamRef in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary namespace qualifiers Created 5 years 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 | base/android/java_handler_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java_handler_thread.h
diff --git a/base/android/java_handler_thread.h b/base/android/java_handler_thread.h
index c9a2c02d3546ed3ffb557061db65f06bc487cd8f..07715a87b9bb3dc98eebfa1cb44cc71bd5452c06 100644
--- a/base/android/java_handler_thread.h
+++ b/base/android/java_handler_thread.h
@@ -33,8 +33,12 @@ class BASE_EXPORT JavaHandlerThread {
// Called from java on the newly created thread.
// Start() will not return before this methods has finished.
- void InitializeThread(JNIEnv* env, jobject obj, jlong event);
- void StopThread(JNIEnv* env, jobject obj, jlong event);
+ void InitializeThread(JNIEnv* env,
+ const JavaParamRef<jobject>& obj,
+ jlong event);
+ void StopThread(JNIEnv* env,
+ const JavaParamRef<jobject>& obj,
+ jlong event);
static bool RegisterBindings(JNIEnv* env);
« no previous file with comments | « no previous file | base/android/java_handler_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698