OLD | NEW |
| 1 #ifndef ADBLOCKPLUS_FILTER_ENGINE_H |
| 2 #define ADBLOCKPLUS_FILTER_ENGINE_H |
| 3 |
1 #include <vector> | 4 #include <vector> |
2 #include <string> | 5 #include <string> |
3 | 6 |
4 namespace AdblockPlus | 7 namespace AdblockPlus |
5 { | 8 { |
6 class JsEngine; | 9 class JsEngine; |
7 | 10 |
8 struct Subscription | 11 struct Subscription |
9 { | 12 { |
10 std::string url; | 13 std::string url; |
(...skipping 14 matching lines...) Expand all Loading... |
25 std::vector<Subscription> FetchAvailableSubscriptions(); | 28 std::vector<Subscription> FetchAvailableSubscriptions(); |
26 bool Matches(const std::string& url, | 29 bool Matches(const std::string& url, |
27 const std::string& contentType) const; | 30 const std::string& contentType) const; |
28 std::vector<std::string> GetElementHidingRules() const; | 31 std::vector<std::string> GetElementHidingRules() const; |
29 | 32 |
30 private: | 33 private: |
31 JsEngine& jsEngine; | 34 JsEngine& jsEngine; |
32 std::vector<Subscription> subscriptions; | 35 std::vector<Subscription> subscriptions; |
33 }; | 36 }; |
34 } | 37 } |
| 38 |
| 39 #endif |
OLD | NEW |