summaryrefslogtreecommitdiffstats
path: root/android_webview/javatests
diff options
context:
space:
mode:
authordfalcantara@chromium.org <dfalcantara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 06:16:22 +0000
committerdfalcantara@chromium.org <dfalcantara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 06:16:22 +0000
commitdb3b287ee1e2524a687a1cc0448ed3c67d8bff97 (patch)
treed2574e6d2219bd91f7911ffa60e23c0e3498fa7f /android_webview/javatests
parent34d3d441d8a02cf9ec4c3586ee762e022ee6cbf5 (diff)
downloadchromium_src-db3b287ee1e2524a687a1cc0448ed3c67d8bff97.zip
chromium_src-db3b287ee1e2524a687a1cc0448ed3c67d8bff97.tar.gz
chromium_src-db3b287ee1e2524a687a1cc0448ed3c67d8bff97.tar.bz2
Add way to reload the page, ignoring the cache
Introduce a way to call NavigationControllerImpl::ReloadIgnoringCache() from the Java-side TabBase. Also, consolidate reload() functions. BUG=307333 Review URL: https://codereview.chromium.org/49353008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/javatests')
-rw-r--r--android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java
index 2adaed8..ee81fe8 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnFormResubmissionTest.java
@@ -4,7 +4,6 @@
package org.chromium.android_webview.test;
-import android.content.Context;
import android.os.Message;
import android.test.suitebuilder.annotation.SmallTest;
@@ -12,11 +11,9 @@ import org.apache.http.util.EncodingUtils;
import org.chromium.android_webview.AwContents;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
-import org.chromium.content.browser.ContentViewCore;
import org.chromium.content.browser.test.util.TestCallbackHelperContainer;
import org.chromium.net.test.util.TestWebServer;
-import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
@@ -118,7 +115,7 @@ public class AwContentsClientOnFormResubmissionTest extends AwTestBase {
getInstrumentation().runOnMainSync(new Runnable() {
@Override
public void run() {
- mAwContents.getContentViewCore().reload();
+ mAwContents.getContentViewCore().reload(true);
}
});
try {