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

Unified Diff: android_webview/browser/aw_safe_browsing_blocking_page.h

Issue 2950863002: Implement code for Start/Finish threat details collection in WebView. (Closed)
Patch Set: fix comment Created 3 years, 6 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
« no previous file with comments | « no previous file | android_webview/browser/aw_safe_browsing_blocking_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | android_webview/browser/aw_safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698