Index: android_webview/browser/aw_safe_browsing_blocking_page.h |
diff --git a/android_webview/browser/aw_safe_browsing_blocking_page.h b/android_webview/browser/aw_safe_browsing_blocking_page.h |
index 8b597bdbf81e9963b58ff1827ab2d19c881e7bee..0569f8663d30a7b4839e66e5a476176e172b2fcb 100644 |
--- a/android_webview/browser/aw_safe_browsing_blocking_page.h |
+++ b/android_webview/browser/aw_safe_browsing_blocking_page.h |
@@ -40,6 +40,18 @@ class AwSafeBrowsingBlockingPage : public safe_browsing::BaseBlockingPage { |
controller_client, |
const BaseSafeBrowsingErrorUI::SBErrorDisplayOptions& display_options, |
ErrorUiType errorUiType); |
+ |
+ // Called when the interstitial is going away. If there is a |
+ // pending threat details object, we look at the user's |
+ // preferences, and if the option to send threat details is |
+ // enabled, the report is scheduled to be sent on the |ui_manager_|. |
+ void FinishThreatDetails(const base::TimeDelta& delay, |
+ bool did_proceed, |
+ int num_visits) override; |
+ |
+ // Whether ThreatDetails collection is in progress as part of this |
+ // interstitial. |
+ bool threat_details_in_progress_; |
}; |
} // namespace android_webview |