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

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

Issue 10690102: Relanding https://chromiumcodereview.appspot.com/10694037 after a revert. The original CL failed on… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added TODO Created 8 years, 5 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_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 6910287e9c685244d261e201e90e78debeac104b..0f60da3a70d5377e655849bed347d84fa76be8e4 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
@@ -145,6 +145,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.

Powered by Google App Engine
This is Rietveld 408576698