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

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

Issue 5102001: Add a checkbox to the malware interstitial page, for user to opt-in to send m... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
===================================================================
--- 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.

Powered by Google App Engine
This is Rietveld 408576698