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

Unified Diff: chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java

Issue 67573003: Android: moves chrome/ to use long for JNI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
diff --git a/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java b/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
index c19103ce6f765be7afde2471b8d66a4d617e6eaa..846588fed3ac79139b0cd276693a7939e2485064 100644
--- a/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
+++ b/chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java
@@ -19,7 +19,7 @@ import org.chromium.ui.base.WindowAndroid;
* and extends {@link TabBase}.
*/
public class TestShellTab extends TabBase {
- private int mNativeTestShellTab;
+ private long mNativeTestShellTab;
private CleanupReference mCleanupReference;
@@ -103,8 +103,8 @@ public class TestShellTab extends TabBase {
}
private static final class DestroyRunnable implements Runnable {
- private final int mNativeTestShellTab;
- private DestroyRunnable(int nativeTestShellTab) {
+ private final long mNativeTestShellTab;
+ private DestroyRunnable(long nativeTestShellTab) {
mNativeTestShellTab = nativeTestShellTab;
}
@Override
@@ -139,7 +139,7 @@ public class TestShellTab extends TabBase {
}
}
- private native int nativeInit();
- private static native void nativeDestroy(int nativeTestShellTab);
- private native String nativeFixupUrl(int nativeTestShellTab, String url);
+ private native long nativeInit();
+ private static native void nativeDestroy(long nativeTestShellTab);
+ private native String nativeFixupUrl(long nativeTestShellTab, String url);
}

Powered by Google App Engine
This is Rietveld 408576698