Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.h |
=================================================================== |
--- chrome/browser/safe_browsing/safe_browsing_blocking_page.h (revision 66339) |
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page.h (working copy) |
@@ -62,6 +62,7 @@ |
// InterstitialPage method: |
virtual std::string GetHTMLContents(); |
+ virtual void SetReportingPreference(bool report); |
virtual void Proceed(); |
virtual void DontProceed(); |
@@ -102,6 +103,10 @@ |
// SBInterstitial[Phishing|Malware|Multiple][Show|Proceed|DontProceed]. |
void RecordUserAction(BlockingPageEvent event); |
+ // See if we should even show the malware report option. For example, we |
lzheng
2010/11/23 01:14:49
See ->Checks ?
|
+ // don't show it in incognito mode. |
+ bool CanShowMalwareReportOption(); |
+ |
// 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. |