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..5d9f2db46bb4740705abc35f9b8f72761662732a 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. |
@@ -185,16 +181,14 @@ class SafeBrowsingBlockingPage : public SecurityInterstitialPage { |
private: |
// Fills the passed dictionary with the values to be passed to the template |
// when creating the HTML. |
- void PopulateExtendedReportingOption(base::DictionaryValue* load_time_data); |
void PopulateMalwareLoadTimeData(base::DictionaryValue* load_time_data); |
void PopulateHarmfulLoadTimeData(base::DictionaryValue* load_time_data); |
void PopulatePhishingLoadTimeData(base::DictionaryValue* load_time_data); |
+ void PopulateExtendedReportingOption(base::DictionaryValue* load_time_data); |
std::string GetMetricPrefix() const; |
std::string GetSamplingEventName() const; |
- scoped_ptr<SecurityInterstitialMetricsHelper> metrics_helper_; |
- |
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingBlockingPage); |
}; |