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

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

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert accidental deletion (fixes failing CaptivePortal tests) Created 5 years, 9 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 ea9704bfdc9666c123277c37d6127964b1737aa7..de5bbef4b756690c3a0c40fbd9a5b5692e67a3b6 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
@@ -90,7 +90,7 @@ class SafeBrowsingBlockingPage : public SecurityInterstitialPage {
friend class SafeBrowsingBlockingPageTest;
FRIEND_TEST_ALL_PREFIXES(SafeBrowsingBlockingPageTest,
ProceedThenDontProceed);
- void SetReportingPreference(bool report);
+
void UpdateReportingPref(); // Used for the transition from old to new pref.
// Don't instantiate this class directly, use ShowBlockingPage instead.
@@ -124,10 +124,6 @@ class SafeBrowsingBlockingPage : public SecurityInterstitialPage {
// enabled, the report is scheduled to be sent on the |ui_manager_|.
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 SafeBrowsingUIManager::UnsafeResource for a tab that the user
// should be warned about. They are queued when displaying more than one
// interstitial at a time.
@@ -193,8 +189,6 @@ class SafeBrowsingBlockingPage : public SecurityInterstitialPage {
std::string GetMetricPrefix() const;
std::string GetSamplingEventName() const;
- scoped_ptr<SecurityInterstitialMetricsHelper> metrics_helper_;
-
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingBlockingPage);
};
« no previous file with comments | « chrome/browser/safe_browsing/ping_manager.cc ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698