Index: components/security_interstitials/core/base_safe_browsing_error_ui.cc |
diff --git a/components/security_interstitials/core/base_safe_browsing_error_ui.cc b/components/security_interstitials/core/base_safe_browsing_error_ui.cc |
index 18be042920245bca811baecc8a5a63929e4ed946..127f5bc9c0ad10b149d0dc9e09ef0104c6d1bbe6 100644 |
--- a/components/security_interstitials/core/base_safe_browsing_error_ui.cc |
+++ b/components/security_interstitials/core/base_safe_browsing_error_ui.cc |
@@ -24,4 +24,35 @@ BaseSafeBrowsingErrorUI::BaseSafeBrowsingErrorUI( |
BaseSafeBrowsingErrorUI::~BaseSafeBrowsingErrorUI() {} |
+BaseSafeBrowsingErrorUI::SBErrorDisplayOptions::SBErrorDisplayOptions( |
+ bool is_main_frame_load_blocked, |
+ bool is_extended_reporting_opt_in_allowed, |
+ bool is_off_the_record, |
+ bool is_extended_reporting_enabled, |
+ bool is_scout_reporting_enabled, |
+ bool is_proceed_anyway_disabled, |
+ bool is_resource_cancellable, |
+ const std::string& help_center_article_link) |
+ : is_main_frame_load_blocked(is_main_frame_load_blocked), |
+ is_extended_reporting_opt_in_allowed( |
+ is_extended_reporting_opt_in_allowed), |
+ is_off_the_record(is_off_the_record), |
+ is_extended_reporting_enabled(is_extended_reporting_enabled), |
+ is_scout_reporting_enabled(is_scout_reporting_enabled), |
+ is_proceed_anyway_disabled(is_proceed_anyway_disabled), |
+ is_resource_cancellable(is_resource_cancellable), |
+ help_center_article_link(help_center_article_link) {} |
+ |
+BaseSafeBrowsingErrorUI::SBErrorDisplayOptions::SBErrorDisplayOptions( |
+ const BaseSafeBrowsingErrorUI::SBErrorDisplayOptions& other) |
+ : is_main_frame_load_blocked(other.is_main_frame_load_blocked), |
+ is_extended_reporting_opt_in_allowed( |
+ other.is_extended_reporting_opt_in_allowed), |
+ is_off_the_record(other.is_off_the_record), |
+ is_extended_reporting_enabled(other.is_extended_reporting_enabled), |
+ is_scout_reporting_enabled(other.is_scout_reporting_enabled), |
+ is_proceed_anyway_disabled(other.is_proceed_anyway_disabled), |
+ is_resource_cancellable(other.is_resource_cancellable), |
+ help_center_article_link(other.help_center_article_link) {} |
+ |
} // security_interstitials |