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

Unified Diff: src/plugin/PluginClientBase.h

Issue 10948032: Fix domain-based whitelisting (Closed)
Patch Set: Created June 17, 2013, 1:50 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/plugin/PluginClass.cpp ('k') | src/plugin/PluginClientBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginClientBase.h
===================================================================
--- a/src/plugin/PluginClientBase.h
+++ b/src/plugin/PluginClientBase.h
@@ -50,11 +50,6 @@
private:
-#ifdef SUPPORT_WHITELIST
- CComAutoCriticalSection m_criticalSectionWhitelist;
- std::map<CString,bool> m_cacheWhitelistedUrls;
-#endif
-
static std::vector<CPluginError> s_pluginErrors;
static bool s_isErrorLogging;
@@ -73,9 +68,7 @@
static void SetLocalization();
#ifdef SUPPORT_WHITELIST
- void CacheWhiteListedUrl(const CString& url, bool isWhitelisted);
bool IsUrlWhiteListed(const CString& url);
- void ClearWhiteListCache();
#endif // SUPPORT_WHITELIST
static bool IsValidDomain(const CString& domain);
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginClientBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld