Index: components/safe_browsing_db/database_manager.h |
diff --git a/components/safe_browsing_db/database_manager.h b/components/safe_browsing_db/database_manager.h |
index 4924cacb32503fd883bdb906f0c620691e6205af..8167b3ae1884910fb60ff1ada3c769bf44b047c4 100644 |
--- a/components/safe_browsing_db/database_manager.h |
+++ b/components/safe_browsing_db/database_manager.h |
@@ -118,6 +118,12 @@ class SafeBrowsingDatabaseManager |
// error occurs. This method must be called on the IO thread. |
virtual bool MatchInclusionWhitelistUrl(const GURL& url) = 0; |
+ // Check if |str|, a lowercase DLL file name, matches any of the full-length |
+ // hashes from the module whitelist. Returns true if there was a match and |
+ // false otherwise. To make sure we are conservative we will return true if |
+ // an error occurs. This method must be called on the IO thread. |
+ virtual bool MatchModuleWhitelistString(const std::string& str) = 0; |
+ |
// Check if the CSD malware IP matching kill switch is turned on. |
virtual bool IsMalwareKillSwitchOn() = 0; |