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

Side by Side Diff: src/plugin/AdblockPlusClient.h

Issue 10948032: Fix domain-based whitelisting (Closed)
Patch Set: Created June 17, 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 | « src/engine/main.cpp ('k') | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef _ADBLOCK_PLUS_CLIENT_H_ 1 #ifndef _ADBLOCK_PLUS_CLIENT_H_
2 #define _ADBLOCK_PLUS_CLIENT_H_ 2 #define _ADBLOCK_PLUS_CLIENT_H_
3 3
4 4
5 #include "PluginTypedef.h" 5 #include "PluginTypedef.h"
6 #include "PluginClientBase.h" 6 #include "PluginClientBase.h"
7 7
8 8
9 class CPluginFilter; 9 class CPluginFilter;
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 int GetIEVersion(); 50 int GetIEVersion();
51 51
52 bool Matches(const std::string& url, const std::string& contentType, const std ::string& domain); 52 bool Matches(const std::string& url, const std::string& contentType, const std ::string& domain);
53 std::vector<std::string> GetElementHidingSelectors(const std::string& domain); 53 std::vector<std::string> GetElementHidingSelectors(const std::string& domain);
54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions(); 54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions();
55 std::vector<SubscriptionDescription> GetListedSubscriptions(); 55 std::vector<SubscriptionDescription> GetListedSubscriptions();
56 void SetSubscription(std::string url); 56 void SetSubscription(std::string url);
57 void UpdateAllSubscriptions(); 57 void UpdateAllSubscriptions();
58 std::vector<std::string> GetExceptionDomains(); 58 std::vector<std::string> GetExceptionDomains();
59 void AddFilter(const std::string& text); 59 void AddFilter(const std::string& text);
60 void RemoveFilter(const std::string& text);
60 }; 61 };
61 62
62 #endif // _ADBLOCK_PLUS_CLIENT_H_ 63 #endif // _ADBLOCK_PLUS_CLIENT_H_
OLDNEW
« no previous file with comments | « src/engine/main.cpp ('k') | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld