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

Delta Between Two Patch Sets: include/AdblockPlus/FilterEngine.h

Issue 10296001: Implement File API (Closed)
Left Patch Set: Address issues Created April 15, 2013, 1:42 p.m.
Right Patch Set: Addressed the new issues Created April 16, 2013, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « include/AdblockPlus/FileSystem.h ('k') | include/AdblockPlus/JsEngine.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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
LEFTRIGHT

Powered by Google App Engine
This is Rietveld