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

Unified Diff: base/android/java_runtime.h

Issue 2202793002: base: Remove unneeded RegisterNatives() calls on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg2
Patch Set: rebase Created 4 years, 4 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 | « base/android/event_log.cc ('k') | base/android/java_runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java_runtime.h
diff --git a/base/android/java_runtime.h b/base/android/java_runtime.h
index 4ca889e05f1df28a59cbaaeadd2a5a039c9ba782..2034fb9c1d071a130212bb129a72b8a50e683ad9 100644
--- a/base/android/java_runtime.h
+++ b/base/android/java_runtime.h
@@ -14,9 +14,6 @@ namespace android {
// Wrapper class for using the java.lang.Runtime object from jni.
class BASE_EXPORT JavaRuntime {
public:
- // Registers the jni class (once per process).
- static bool Register(JNIEnv* env);
-
// Fills the total memory used and memory allocated for objects by the java
// heap in the current process. Returns true on success.
static void GetMemoryUsage(long* total_memory, long* free_memory);
« no previous file with comments | « base/android/event_log.cc ('k') | base/android/java_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698