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

Unified Diff: chrome/browser/interstitials/security_interstitial_page.cc

Issue 2298613007: Use controller from SecurityInterstitialPage in derived classes (Closed)
Patch Set: Provide default impl for SecurityInterstitialPage::AfterShow Created 4 years, 3 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/interstitials/security_interstitial_page.cc
diff --git a/chrome/browser/interstitials/security_interstitial_page.cc b/chrome/browser/interstitials/security_interstitial_page.cc
index 45897417670b433225556b183516572992abe88d..0d1894761adebf66a311db830e8cc6566b944af8 100644
--- a/chrome/browser/interstitials/security_interstitial_page.cc
+++ b/chrome/browser/interstitials/security_interstitial_page.cc
@@ -91,14 +91,6 @@ std::string SecurityInterstitialPage::GetHTMLContents() {
return webui::GetI18nTemplateHtml(html, &load_time_data);
}
-void SecurityInterstitialPage::SetReportingPreference(bool report) {
- controller_->SetReportingPreference(report);
-}
-
-void SecurityInterstitialPage::OpenExtendedReportingPrivacyPolicy() {
- controller_->OpenExtendedReportingPrivacyPolicy();
-}
-
security_interstitials::MetricsHelper*
SecurityInterstitialPage::metrics_helper() {
return controller_->metrics_helper();
@@ -108,3 +100,7 @@ void SecurityInterstitialPage::set_metrics_helper(
std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper) {
controller_->set_metrics_helper(std::move(metrics_helper));
}
+
+ChromeControllerClient* SecurityInterstitialPage::controller() {
+ return controller_.get();
+}
« no previous file with comments | « chrome/browser/interstitials/security_interstitial_page.h ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698