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

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

Issue 1001003004: [Android WebView] Implement a better OnReceivedError callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restored empty line Created 5 years, 9 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/ErrorCodeConversionHelper.java
diff --git a/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java b/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
index a4d38885b86320b293142d09a227ce8e3e5ec491..7656d8e43a87769cec12e703ce39895a89cbcebb 100644
--- a/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
+++ b/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
@@ -42,6 +42,8 @@ public abstract class ErrorCodeConversionHelper {
public static final int ERROR_FILE_NOT_FOUND = -14;
// Too many requests during this load
public static final int ERROR_TOO_MANY_REQUESTS = -15;
+ // Request blocked by the browser
+ public static final int ERROR_BLOCKED = -16;
static int convertErrorCode(int netError) {
// Note: many NetError.Error constants don't have an obvious mapping.

Powered by Google App Engine
This is Rietveld 408576698