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

Unified Diff: mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java

Issue 1147203002: Revert of Changes caching logic of mojo java apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
diff --git a/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java b/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
index 81247a238397425e088aac10114881091650fee1..8ab201fd62727a0e8b8f1bc6677123fb2439261d 100644
--- a/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
+++ b/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
@@ -22,16 +22,14 @@
private final File mApplicationNativeLibrary;
private final int mHandle;
private final long mRunApplicationPtr;
- private final boolean mIsCachedApp;
public Bootstrap(Context context, File bootstrapNativeLibrary, File applicationNativeLibrary,
- Integer handle, Long runApplicationPtr, Boolean isCachedApp) {
+ Integer handle, Long runApplicationPtr) {
mContext = context;
mBootstrapNativeLibrary = bootstrapNativeLibrary;
mApplicationNativeLibrary = applicationNativeLibrary;
mHandle = handle;
mRunApplicationPtr = runApplicationPtr;
- mIsCachedApp = isCachedApp;
}
@Override
@@ -39,9 +37,9 @@
System.load(mBootstrapNativeLibrary.getAbsolutePath());
System.load(mApplicationNativeLibrary.getAbsolutePath());
nativeBootstrap(mContext, mApplicationNativeLibrary.getAbsolutePath(), mHandle,
- mRunApplicationPtr, mIsCachedApp);
+ mRunApplicationPtr);
}
native void nativeBootstrap(Context context, String libraryPath, int handle,
- long runApplicationPtr, boolean isCachedApp);
+ long runApplicationPtr);
}

Powered by Google App Engine
This is Rietveld 408576698