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

Side by Side Diff: src/FilterEngine.cpp

Issue 9987009: Interface for the libadblockplus API (Closed)
Patch Set: Rename to FilterEngine, add a dummy implementation Created March 26, 2013, 1:50 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.gyp ('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
(Empty)
1 #include <AdblockPlus.h>
2
3 using namespace AdblockPlus;
4
5 FilterEngine::FilterEngine(JsEngine& jsEngine) : jsEngine(jsEngine)
6 {
7 }
8
9 void FilterEngine::AddSubscription(Subscription subscription)
10 {
11 }
12
13 void FilterEngine::RemoveSubscription(const Subscription& subscription)
14 {
15 }
16
17 std::vector<Subscription> FilterEngine::GetSubscriptions()
18 {
19 return std::vector<Subscription>();
20 }
21
22 void FilterEngine::UpdateSubscriptionFilters(const Subscription& subscription)
23 {
24 }
25
26 std::vector<Subscription> FilterEngine::FetchSubscriptionList()
27 {
28 return std::vector<Subscription>();
29 }
30
31 bool FilterEngine::FiltersMatch(const std::string& url,
32 const std::string& contentType) const
33 {
Oleksandr 2013/03/27 08:37:01 I guess it probably won't be an issue on Linux, bu
Felix Dahlke 2013/03/27 08:59:18 That's tricky actually... std::string works fine f
34 return false;
35 }
36
37 std::vector<std::string> FilterEngine::GetElementHidingRules() const
38 {
39 return std::vector<std::string>();
40 }
OLDNEW
« no previous file with comments | « libadblockplus.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld