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 49c29d07ecf153abe2e8ce11e05712fa7fd03f13..882ac334134a8fcd768460f1ebf40ff5fd6d77a0 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
@@ -146,6 +146,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. |