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 14, 2013, 2:44 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
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);

Powered by Google App Engine
This is Rietveld