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

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

Issue 11013110: Cleanup (Closed)
Patch Set: More refactoring. Removing main thread, tab counting. Implementing SetPref and GetPref. Addressing … Created July 9, 2013, 12:59 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 bool Matches(const std::wstring& url, const std::wstring& contentType, const s td::wstring& domain); 52 bool Matches(const std::wstring& url, const std::wstring& contentType, const s td::wstring& domain);
53 std::vector<std::wstring> GetElementHidingSelectors(const std::wstring& domain ); 53 std::vector<std::wstring> GetElementHidingSelectors(const std::wstring& domain );
54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions(); 54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions();
55 std::vector<SubscriptionDescription> GetListedSubscriptions(); 55 std::vector<SubscriptionDescription> GetListedSubscriptions();
56 void SetSubscription(const std::wstring& url); 56 void SetSubscription(const std::wstring& url);
57 void UpdateAllSubscriptions(); 57 void UpdateAllSubscriptions();
58 std::vector<std::wstring> GetExceptionDomains(); 58 std::vector<std::wstring> GetExceptionDomains();
59 void AddFilter(const std::wstring& text); 59 void AddFilter(const std::wstring& text);
60 void RemoveFilter(const std::wstring& text); 60 void RemoveFilter(const std::wstring& text);
61 void SetPref(const std::wstring& name, const std::wstring& value);
62 std::wstring GetPref(const std::wstring& name);
61 }; 63 };
62 64
63 #endif // _ADBLOCK_PLUS_CLIENT_H_ 65 #endif // _ADBLOCK_PLUS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld