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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java

Issue 12091111: Implement Webviewclient.onReceivedSslError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wasting time... 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/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
index 534556857e704f599b9dc35a662d5dbde5861e02..cc34abff1d311570a8a4fa90c908629608209482 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
@@ -6,6 +6,7 @@ package org.chromium.android_webview.test;
import android.content.Context;
import android.graphics.Picture;
+import android.net.http.SslError;
import android.os.Message;
import android.view.KeyEvent;
import android.view.View;
@@ -66,6 +67,11 @@ class NullContentsClient extends AwContentsClient {
}
@Override
+ public void onReceivedSslError(ValueCallback<Boolean> callback, SslError error) {
+ callback.onReceiveValue(false);
+ }
+
+ @Override
public void onReceivedLoginRequest(String realm, String account, String args) {
}

Powered by Google App Engine
This is Rietveld 408576698