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

Unified Diff: base/android/jni_android.h

Issue 11038015: Android: lazy initialization for method id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split files Created 8 years, 2 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
« no previous file with comments | « no previous file | base/android/jni_android.cc » ('j') | base/android/jni_android_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_android.h
diff --git a/base/android/jni_android.h b/base/android/jni_android.h
index 40e235943c64b88e04a1bd16166f107c81c574cf..eb96bdb1b234842e6051844c35d35716f77f4a6e 100644
--- a/base/android/jni_android.h
+++ b/base/android/jni_android.h
@@ -71,12 +71,6 @@ jmethodID GetMethodID(JNIEnv* env,
const char* method_name,
const char* jni_signature);
-// Unlike GetMethodID, returns NULL if the method could not be found.
-jmethodID GetMethodIDOrNull(JNIEnv* env,
- jclass clazz,
- const char* method_name,
- const char* jni_signature);
-
// Returns the method ID for the static method with the specified name and
// signature.
// This method triggers a fatal assertion if the method could not be found.
@@ -92,12 +86,6 @@ jmethodID GetStaticMethodID(JNIEnv* env,
const char* method_name,
const char* jni_signature);
-// Unlike GetStaticMethodID, returns NULL if the method could not be found.
-jmethodID GetStaticMethodIDOrNull(JNIEnv* env,
- jclass clazz,
- const char* method_name,
- const char* jni_signature);
-
// Returns true iff |clazz| has a method with the specified name and signature.
bool HasMethod(JNIEnv* env,
const JavaRef<jclass>& clazz,
« no previous file with comments | « no previous file | base/android/jni_android.cc » ('j') | base/android/jni_android_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698