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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsClient.java

Issue 12091111: Implement Webviewclient.onReceivedSslError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review from joth Created 7 years, 10 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/java/src/org/chromium/android_webview/AwContentsClient.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
index 106c30eae21d6b8c1eba3e06c8b616f9c199616d..eaa38c979445e0c4d55085f32f2909689884bca1 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
@@ -8,6 +8,7 @@ import android.graphics.Bitmap;
import android.graphics.Picture;
import android.graphics.Rect;
import android.graphics.RectF;
+import android.net.http.SslError;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
@@ -16,6 +17,7 @@ import android.view.KeyEvent;
import android.view.View;
import android.webkit.ConsoleMessage;
import android.webkit.GeolocationPermissions;
+import android.webkit.SslErrorHandler;
import android.webkit.ValueCallback;
import android.webkit.WebChromeClient;
@@ -230,6 +232,8 @@ public abstract class AwContentsClient extends ContentViewClient {
public abstract void onReceivedHttpAuthRequest(AwHttpAuthHandler handler,
String host, String realm);
+ public abstract void onReceivedSslError(SslErrorHandler handler, SslError error);
+
public abstract void onReceivedLoginRequest(String realm, String account, String args);
public abstract void onFormResubmission(Message dontResend, Message resend);

Powered by Google App Engine
This is Rietveld 408576698