|
In the newer libadblockplus the life time of injected implementations of interfaces is controlled by Platform, namely they are destroyed by Platform (currently the role of platform is played by JsEngine). In this commit we remove a direct control of the life span of C++ implementation of LogSystem from Java, however it's still controlled because LogSystem is being destroyed when JsEngine is being destroyed, namely on Java JsEngine.dispose().
# depends on https://codereview.adblockplus.org/29524565/
COLLABORATOR=anton@adblockplus.org
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+13 lines, -87 lines) |
Patch |
|
M |
libadblockplus-android-tests/src/org/adblockplus/libadblockplus/LazyLogSystem.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockLogSystem.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingLogSystem.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
libadblockplus-android/jni/JniJsEngine.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
libadblockplus-android/jni/JniLogSystem.cpp
|
View
|
|
2 chunks |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
libadblockplus-android/src/org/adblockplus/libadblockplus/LogSystem.java
|
View
|
|
1 chunk |
+3 lines, -46 lines |
0 comments
|
Download
|
|
M |
libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
libadblockplus-android/src/org/adblockplus/libadblockplus/android/AndroidLogSystem.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5
|