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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.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/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java
index 2271d5e00e7a050080c41f059498be36ce0dd0a2..83fd6160f99f96b455c3f56c3de7a8c7aea9fb5b 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java
@@ -14,7 +14,7 @@ import java.util.List;
* This class allows Java code to get and clear the list of recently closed tabs.
*/
public class RecentlyClosedBridge {
- private int mNativeRecentlyClosedTabsBridge;
+ private long mNativeRecentlyClosedTabsBridge;
/**
* Callback interface for getting notified when the list of recently closed tabs is updated.
@@ -110,13 +110,13 @@ public class RecentlyClosedBridge {
nativeClearRecentlyClosedTabs(mNativeRecentlyClosedTabsBridge);
}
- private native int nativeInit(Profile profile);
- private native void nativeDestroy(int nativeRecentlyClosedTabsBridge);
+ private native long nativeInit(Profile profile);
+ private native void nativeDestroy(long nativeRecentlyClosedTabsBridge);
private native void nativeSetRecentlyClosedCallback(
- int nativeRecentlyClosedTabsBridge, RecentlyClosedCallback callback);
+ long nativeRecentlyClosedTabsBridge, RecentlyClosedCallback callback);
private native boolean nativeGetRecentlyClosedTabs(
- int nativeRecentlyClosedTabsBridge, List<RecentlyClosedTab> tabs);
+ long nativeRecentlyClosedTabsBridge, List<RecentlyClosedTab> tabs);
private native boolean nativeOpenRecentlyClosedTab(
- int nativeRecentlyClosedTabsBridge, TabBase tab, int recentTabId);
- private native void nativeClearRecentlyClosedTabs(int nativeRecentlyClosedTabsBridge);
+ long nativeRecentlyClosedTabsBridge, TabBase tab, int recentTabId);
+ private native void nativeClearRecentlyClosedTabs(long nativeRecentlyClosedTabsBridge);
}

Powered by Google App Engine
This is Rietveld 408576698