summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authormnaganov <mnaganov@chromium.org>2015-03-09 10:18:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-09 17:19:10 +0000
commitf0a8ffb2ca988fe7de628620f750ee241e5f5d35 (patch)
tree89081bd42deaa050eb286bf66bbba22060623aee /android_webview/test
parent318afca092085cc5375a6b5547383d78baee3778 (diff)
downloadchromium_src-f0a8ffb2ca988fe7de628620f750ee241e5f5d35.zip
chromium_src-f0a8ffb2ca988fe7de628620f750ee241e5f5d35.tar.gz
chromium_src-f0a8ffb2ca988fe7de628620f750ee241e5f5d35.tar.bz2
[Android WebView] Lay the groundwork for a better onReceivedError
This patch should not change any behaviour. It introduces a new version of onReceviedError that will be called for all resources and provides more information about the failed request. BUG=456782 Review URL: https://codereview.chromium.org/992593003 Cr-Commit-Position: refs/heads/master@{#319664}
Diffstat (limited to 'android_webview/test')
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
index dd3359e..035ff4c 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
@@ -163,6 +163,10 @@ public class NullContentsClient extends AwContentsClient {
}
@Override
+ public void onReceivedError2(AwWebResourceRequest request, AwWebResourceError error) {
+ }
+
+ @Override
public void onFormResubmission(Message dontResend, Message resend) {
dontResend.sendToTarget();
}