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

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

Issue 29453616: Issue 5286 - Update to use libadblockplus rev. b88d098aeab5 (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: add missed dependencies Created June 2, 2017, 1:45 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « libadblockplus-android/jni/JniWebRequest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2017 eyeo GmbH 3 * Copyright (C) 2006-2017 eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 public void setDefaultLogSystem() 86 public void setDefaultLogSystem()
87 { 87 {
88 setDefaultLogSystem(this.ptr); 88 setDefaultLogSystem(this.ptr);
89 } 89 }
90 90
91 public void setLogSystem(final LogSystem logSystem) 91 public void setLogSystem(final LogSystem logSystem)
92 { 92 {
93 setLogSystem(this.ptr, logSystem.ptr); 93 setLogSystem(this.ptr, logSystem.ptr);
94 } 94 }
95 95
96 public void setDefaultWebRequest()
97 {
98 setDefaultWebRequest(this.ptr);
99 }
100
101 public void setWebRequest(final WebRequest webRequest) 96 public void setWebRequest(final WebRequest webRequest)
102 { 97 {
103 setWebRequest(this.ptr, webRequest.ptr); 98 setWebRequest(this.ptr, webRequest.ptr);
104 } 99 }
105 100
106 public JsValue newValue(final long value) 101 public JsValue newValue(final long value)
107 { 102 {
108 return newValue(this.ptr, value); 103 return newValue(this.ptr, value);
109 } 104 }
110 105
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 private final static native void triggerEvent(long ptr, String eventName, long [] args); 148 private final static native void triggerEvent(long ptr, String eventName, long [] args);
154 149
155 private final static native void setDefaultFileSystem(long ptr, String basePat h); 150 private final static native void setDefaultFileSystem(long ptr, String basePat h);
156 151
157 private final static native void setLogSystem(long ptr, long logSystemPtr); 152 private final static native void setLogSystem(long ptr, long logSystemPtr);
158 153
159 private final static native void setDefaultLogSystem(long ptr); 154 private final static native void setDefaultLogSystem(long ptr);
160 155
161 private final static native void setWebRequest(long ptr, long webRequestPtr); 156 private final static native void setWebRequest(long ptr, long webRequestPtr);
162 157
163 private final static native void setDefaultWebRequest(long ptr);
164
165 private final static native JsValue newValue(long ptr, long value); 158 private final static native JsValue newValue(long ptr, long value);
166 159
167 private final static native JsValue newValue(long ptr, boolean value); 160 private final static native JsValue newValue(long ptr, boolean value);
168 161
169 private final static native JsValue newValue(long ptr, String value); 162 private final static native JsValue newValue(long ptr, String value);
170 163
171 private final static native void dtor(long ptr); 164 private final static native void dtor(long ptr);
172 } 165 }
OLDNEW
« no previous file with comments | « libadblockplus-android/jni/JniWebRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld