Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
index 6761a179b2698a8e4af3cbba51f8126c84d8be3e..a0a905b52f2f1d06857cbcbddddd63178fe7044c 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
@@ -140,6 +140,10 @@ class SafeBrowsingBlockingPage : public content::InterstitialPageDelegate { |
// enabled, the report is scheduled to be sent on the |sb_service_|. |
void FinishMalwareDetails(int64 delay_ms); |
+ // Returns the boolean value of the given |pref| from the PrefService of the |
+ // Profile associated with |web_contents_|. |
+ bool IsPrefEnabled(const char* pref); |
+ |
// A list of SafeBrowsingService::UnsafeResource for a tab that the user |
// should be warned about. They are queued when displaying more than one |
// interstitial at a time. |