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

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: address code review Created 7 years, 11 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 b3207c74d3791665a48a0ddf475a509aaa6acaf9..1562e433b45b01928a1db499c39fc5e7d909dc52 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
@@ -7,6 +7,7 @@ package org.chromium.android_webview;
import android.graphics.Bitmap;
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;
@@ -14,6 +15,7 @@ import android.util.Log;
import android.view.KeyEvent;
import android.webkit.ConsoleMessage;
import android.webkit.GeolocationPermissions;
+import android.webkit.SslErrorHandler;
import android.webkit.ValueCallback;
import org.chromium.content.browser.ContentViewClient;
@@ -227,6 +229,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