| 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..32efe097119b77e93b080eff76e46222b6f5d93e 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| 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;
|
|
|
|
|