Index: chrome/browser/safe_browsing/safe_browsing_service.h |
=================================================================== |
--- chrome/browser/safe_browsing/safe_browsing_service.h (revision 89656) |
+++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy) |
@@ -150,7 +150,7 @@ |
// Called on UI thread to decide if the download file's sha256 hash |
// should be calculated for safebrowsing. |
- bool DownloadBinHashNeeded() const; |
+ bool DownloadBinHashNeeded(bool safe_browsing_enabled) const; |
// Called on the IO thread to check if the given url is safe or not. If we |
// can synchronously determine that the url is safe, CheckUrl returns true. |
@@ -265,7 +265,8 @@ |
const GURL& referrer_url, |
bool is_subresource, |
UrlCheckResult threat_type, |
- const std::string& post_data); |
+ const std::string& post_data, |
+ bool safe_browsing_enabled); |
protected: |
// Creates the safe browsing service. Need to initialize before using. |