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

Side by Side Diff: README.md

Issue 29377064: Issue 4944 - Make creation of FilterEngine asynchronous. (Closed)
Patch Set: rebase and address comments Created March 16, 2017, 3:47 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 | « no previous file | include/AdblockPlus/FilterEngine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 libadblockplus 1 libadblockplus
2 ============== 2 ==============
3 3
4 A C++ library offering the core functionality of Adblock Plus. 4 A C++ library offering the core functionality of Adblock Plus.
5 5
6 Getting/updating the dependencies 6 Getting/updating the dependencies
7 --------------------------------- 7 ---------------------------------
8 8
9 libadblockplus has dependencies that aren't part of this repository. They are 9 libadblockplus has dependencies that aren't part of this repository. They are
10 retrieved and updated during the build process, but you can also manually update 10 retrieved and updated during the build process, but you can also manually update
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 Depending on your application and platform, you might want to supply your own 128 Depending on your application and platform, you might want to supply your own
129 implementations for these - see 129 implementations for these - see
130 [`FilterEngine::SetFileSystem`](https://adblockplus.org/docs/libadblockplus/clas s_adblock_plus_1_1_js_engine.html#a979e9bde78499dab9f5e3aacc5155f40), 130 [`FilterEngine::SetFileSystem`](https://adblockplus.org/docs/libadblockplus/clas s_adblock_plus_1_1_js_engine.html#a979e9bde78499dab9f5e3aacc5155f40),
131 [`FilterEngine::SetWebRequest`](https://adblockplus.org/docs/libadblockplus/clas s_adblock_plus_1_1_js_engine.html#a290a03b86137a56d7b2f457f03c77504) 131 [`FilterEngine::SetWebRequest`](https://adblockplus.org/docs/libadblockplus/clas s_adblock_plus_1_1_js_engine.html#a290a03b86137a56d7b2f457f03c77504)
132 and 132 and
133 [`FilterEngine::SetLogSystem`](https://adblockplus.org/docs/libadblockplus/class _adblock_plus_1_1_js_engine.html#ab60b10be1d4500bce4b17c1e9dbaf4c8) 133 [`FilterEngine::SetLogSystem`](https://adblockplus.org/docs/libadblockplus/class _adblock_plus_1_1_js_engine.html#ab60b10be1d4500bce4b17c1e9dbaf4c8)
134 respectively. 134 respectively.
135 135
136 With the `JsEngine` instance created, you can create a `FilterEngine` instance: 136 With the `JsEngine` instance created, you can create a `FilterEngine` instance:
137 137
138 FilterEngine filterEngine(jsEngine); 138 auto filterEngine = FilterEngine::Create(jsEngine);
139
140 Please also pay attention to asynchronous version of factory method
141 FilterEngine::CreateAsync and to optional creationParameters.
139 142
140 When initialised, `FilterEngine` will automatically select a suitable ad 143 When initialised, `FilterEngine` will automatically select a suitable ad
141 blocking subscription based on `AppInfo::locale` and download the filters for 144 blocking subscription based on `AppInfo::locale` and download the filters for
142 it. 145 it.
143 146
144 ### Managing subscriptions 147 ### Managing subscriptions
145 148
146 libadblockplus takes care of storing and updating subscriptions. 149 libadblockplus takes care of storing and updating subscriptions.
147 150
148 You can add more: 151 You can add more:
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 232
230 ### Unix 233 ### Unix
231 234
232 The shell is automatically built by `make`, you can run it as follows: 235 The shell is automatically built by `make`, you can run it as follows:
233 236
234 build/out/abpshell 237 build/out/abpshell
235 238
236 ### Windows 239 ### Windows
237 240
238 Just run the project *abpshell*. 241 Just run the project *abpshell*.
OLDNEW
« no previous file with comments | « no previous file | include/AdblockPlus/FilterEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld