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

Side by Side Diff: include/AdblockPlus/FilterEngine.h

Issue 10296001: Implement File API (Closed)
Patch Set: Addressed all remaining issues Created April 16, 2013, 11:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef ADBLOCKPLUS_FILTER_ENGINE_H 1 #ifndef ADBLOCKPLUS_FILTER_ENGINE_H
2 #define ADBLOCKPLUS_FILTER_ENGINE_H 2 #define ADBLOCKPLUS_FILTER_ENGINE_H
3 3
4 #include <vector> 4 #include <vector>
5 #include <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 #ifdef _MSC_VER 7
8 #include <memory> 8 #include "tr1_memory.h"
9 #else 9
10 #include <tr1/memory>
11 #endif
12 namespace AdblockPlus 10 namespace AdblockPlus
13 { 11 {
14 class JsEngine; 12 class JsEngine;
15 class FilterEngine; 13 class FilterEngine;
16 14
17 class JsObject 15 class JsObject
18 { 16 {
19 public: 17 public:
20 std::string GetProperty(const std::string& name, const std::string& defaultV alue) const; 18 std::string GetProperty(const std::string& name, const std::string& defaultV alue) const;
21 int GetProperty(const std::string& name, int defaultValue) const; 19 int GetProperty(const std::string& name, int defaultValue) const;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 #if FILTER_ENGINE_STUBS 110 #if FILTER_ENGINE_STUBS
113 std::map<std::string, FilterPtr> knownFilters; 111 std::map<std::string, FilterPtr> knownFilters;
114 std::vector<FilterPtr> listedFilters; 112 std::vector<FilterPtr> listedFilters;
115 std::map<std::string, SubscriptionPtr> knownSubscriptions; 113 std::map<std::string, SubscriptionPtr> knownSubscriptions;
116 std::vector<SubscriptionPtr> listedSubscriptions; 114 std::vector<SubscriptionPtr> listedSubscriptions;
117 #endif 115 #endif
118 }; 116 };
119 } 117 }
120 118
121 #endif 119 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld