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

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

Issue 876413007: [Android WebView] Rename ShouldInterceptRequestParams -> AwWebResourceRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed glue code Created 5 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/AwSettingsTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java
index 27fe68c96414f786617366be6708416f6b66b2d4..043bb326954f06e7c043de84c0186b1a8ad4c0cb 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java
@@ -22,7 +22,6 @@ import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
import org.apache.http.Header;
import org.apache.http.HttpRequest;
import org.chromium.android_webview.AwContents;
-import org.chromium.android_webview.AwContentsClient.ShouldInterceptRequestParams;
import org.chromium.android_webview.AwSettings;
import org.chromium.android_webview.AwWebResourceResponse;
import org.chromium.android_webview.test.util.CommonResources;
@@ -2739,9 +2738,8 @@ public class AwSettingsTest extends AwTestBase {
final String defaultVideoPosterUrl = "http://default_video_poster/";
TestAwContentsClient client = new TestAwContentsClient() {
@Override
- public AwWebResourceResponse shouldInterceptRequest(
- ShouldInterceptRequestParams params) {
- if (params.url.equals(defaultVideoPosterUrl)) {
+ public AwWebResourceResponse shouldInterceptRequest(AwWebResourceRequest request) {
+ if (request.url.equals(defaultVideoPosterUrl)) {
videoPosterAccessedCallbackHelper.notifyCalled();
}
return null;

Powered by Google App Engine
This is Rietveld 408576698