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

Unified Diff: android_webview/browser/aw_ssl_host_state_delegate.h

Issue 2225213004: Teach SSLHostStateDelegate about subresources with cert errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: android_webview/browser/aw_ssl_host_state_delegate.h
diff --git a/android_webview/browser/aw_ssl_host_state_delegate.h b/android_webview/browser/aw_ssl_host_state_delegate.h
index 45cbe79bbe1635aa501881721a731532752e5fbc..82e7dbffd62e753840aa78531cdd09f1259cde04 100644
--- a/android_webview/browser/aw_ssl_host_state_delegate.h
+++ b/android_webview/browser/aw_ssl_host_state_delegate.h
@@ -64,11 +64,15 @@ class AwSSLHostStateDelegate : public content::SSLHostStateDelegate {
bool* expired_previous_decision) override;
// Records that a host has run insecure content.
- void HostRanInsecureContent(const std::string& host, int pid) override;
+ void HostRanInsecureContent(const std::string& host,
+ int pid,
+ InsecureContentType content_type) override;
// Returns whether the specified host ran insecure content.
- bool DidHostRunInsecureContent(const std::string& host,
- int pid) const override;
+ bool DidHostRunInsecureContent(
+ const std::string& host,
+ int pid,
+ InsecureContentType content_type) const override;
// Revokes all SSL certificate error allow exceptions made by the user for
// |host|.

Powered by Google App Engine
This is Rietveld 408576698