Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java

Issue 29347315: Issue 4231 - Fix unstable FilterEngineTest.testSetRemoveFilterChangeCallback (Closed)
Patch Set: patchset 2 + patchset 3 + applied Eyeo's codestyle Created Aug. 8, 2016, 8:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libadblockplus-android/src/org/adblockplus/libadblockplus/FileSystemUtils.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java
index c889cd81d8727718d1ba70008119e5bd54447483..80eb014893f46bd621ccd9377f0ac889e61a491d 100644
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java
@@ -78,6 +78,11 @@ public final class JsEngine implements Disposable
triggerEvent(this.ptr, eventName, null);
}
+ public void setFileSystem(FileSystem fileSystem)
+ {
+ setFileSystem(this.ptr, fileSystem.ptr);
+ }
+
public void setDefaultFileSystem(final String basePath)
{
setDefaultFileSystem(this.ptr, basePath);
@@ -152,6 +157,8 @@ public final class JsEngine implements Disposable
private final static native void triggerEvent(long ptr, String eventName, long[] args);
+ private final static native void setFileSystem(long ptr, long fileSystemPtr);
+
private final static native void setDefaultFileSystem(long ptr, String basePath);
private final static native void setLogSystem(long ptr, long logSystemPtr);
« no previous file with comments | « libadblockplus-android/src/org/adblockplus/libadblockplus/FileSystemUtils.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld