Index: chrome/browser/safe_browsing/database_manager.h |
diff --git a/chrome/browser/safe_browsing/database_manager.h b/chrome/browser/safe_browsing/database_manager.h |
index ed17f5af1a60ffba0daf6c158618f644364fdbd2..43147b4fd9b8de5b4e9f3a4f37f06ad5c1b11306 100644 |
--- a/chrome/browser/safe_browsing/database_manager.h |
+++ b/chrome/browser/safe_browsing/database_manager.h |
@@ -177,6 +177,11 @@ class SafeBrowsingDatabaseManager |
// Check if the CSD malware IP matching kill switch is turned on. |
virtual bool IsMalwareKillSwitchOn(); |
+ // Check if the given IP address (either IPv4 or IPv6) matches the malware |
+ // IP blacklist. |
+ // This method is expected to be called on the IO thread. |
+ virtual bool MatchMalwareIP(const std::string& ip_address); |
+ |
// Called on the IO thread to cancel a pending check if the result is no |
// longer needed. |
void CancelCheck(Client* client); |