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

Unified Diff: src/plugin/AdblockPlusClient.h

Issue 5115380229996544: Issue 1104 - Cannot uncheck Disable on website option in tool bar (Closed)
Patch Set: rename and rebase Created March 13, 2015, 4:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/engine/Main.cpp ('k') | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/AdblockPlusClient.h
diff --git a/src/plugin/AdblockPlusClient.h b/src/plugin/AdblockPlusClient.h
index cbb384bacb1de3fe654df9d4e42f974b8811ec69..62bbc51207408d1a36c16666b6613cb4a204ce9b 100644
--- a/src/plugin/AdblockPlusClient.h
+++ b/src/plugin/AdblockPlusClient.h
@@ -45,7 +45,7 @@ private:
CComAutoCriticalSection m_criticalSectionFilter;
CComAutoCriticalSection m_criticalSectionCache;
- static CComAutoCriticalSection s_criticalSectionLocal;
+ static CComAutoCriticalSection s_criticalSectionLocal;
std::map<std::wstring, bool> m_cacheBlockedSources;
@@ -72,6 +72,7 @@ public:
bool IsElementHidden(const std::wstring& tag, IHTMLElement* pEl, const std::wstring& domain, const std::wstring& indent, CPluginFilter* filter);
bool IsWhitelistedUrl(const std::wstring& url);
+ std::string GetWhitelistingFilter(const std::wstring& url);
bool IsElemhideWhitelistedOnDomain(const std::wstring& url);
bool Matches(const std::wstring& url, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain);
@@ -86,6 +87,7 @@ public:
std::vector<std::wstring> GetExceptionDomains();
void AddFilter(const std::wstring& text);
void RemoveFilter(const std::wstring& text);
+ void RemoveFilter(const std::string& text);
void SetPref(const std::wstring& name, const std::wstring& value);
void SetPref(const std::wstring& name, const int64_t& value);
void SetPref(const std::wstring& name, bool value);
« 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