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

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

Issue 11187032: Handle resubmission of HTTP Posts. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix the dependency Created 8 years, 2 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 2760c2d89eda8e4140db5a0ad92c1218328e60fd..594b322ecbfdd083e6d9aefdc3275cfcfedc3c56 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
@@ -5,6 +5,7 @@
package org.chromium.android_webview.test;
import android.content.Context;
+import android.os.Message;
import android.view.KeyEvent;
import android.webkit.ConsoleMessage;
@@ -84,4 +85,9 @@ class NullContentsClient extends AwContentsClient {
@Override
public void onReceivedError(int errorCode, String description, String failingUrl) {
}
+
+ @Override
+ public void onFormResubmission(Message dontResend, Message resend) {
+ dontResend.sendToTarget();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698