Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2544)

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 7134017: Make safe browsing work in a multi-profile environment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698