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

Unified Diff: android_webview/browser/aw_ssl_host_state_delegate.cc

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.cc
diff --git a/android_webview/browser/aw_ssl_host_state_delegate.cc b/android_webview/browser/aw_ssl_host_state_delegate.cc
index 1da47472fb4b38f3fed193c2e519d409fdfbfd40..921d7de9dea3ea34049eacac29714900a0a2c121 100644
--- a/android_webview/browser/aw_ssl_host_state_delegate.cc
+++ b/android_webview/browser/aw_ssl_host_state_delegate.cc
@@ -55,13 +55,17 @@ AwSSLHostStateDelegate::AwSSLHostStateDelegate() {
AwSSLHostStateDelegate::~AwSSLHostStateDelegate() {
}
-void AwSSLHostStateDelegate::HostRanInsecureContent(const std::string& host,
- int pid) {
+void AwSSLHostStateDelegate::HostRanInsecureContent(
+ const std::string& host,
+ int pid,
+ InsecureContentType content_type) {
// Intentional no-op for Android WebView.
}
-bool AwSSLHostStateDelegate::DidHostRunInsecureContent(const std::string& host,
- int pid) const {
+bool AwSSLHostStateDelegate::DidHostRunInsecureContent(
+ const std::string& host,
+ int pid,
+ InsecureContentType content_type) const {
// Intentional no-op for Android WebView.
return false;
}

Powered by Google App Engine
This is Rietveld 408576698