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 f307480e920d809682e45f092c34b58e000968dc..21771da441b1316df21993f25d4dd2b663a0cedd 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 |
@@ -21,6 +21,7 @@ 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.AwSettings.LayoutAlgorithm; |
import org.chromium.android_webview.InterceptedRequestData; |
@@ -2571,8 +2572,9 @@ public class AwSettingsTest extends AwTestBase { |
final String DEFAULT_VIDEO_POSTER_URL = "http://default_video_poster/"; |
TestAwContentsClient client = new TestAwContentsClient() { |
@Override |
- public InterceptedRequestData shouldInterceptRequest(String url) { |
- if (url.equals(DEFAULT_VIDEO_POSTER_URL)) { |
+ public InterceptedRequestData shouldInterceptRequest( |
+ ShouldInterceptRequestParams params) { |
+ if (params.url.equals(DEFAULT_VIDEO_POSTER_URL)) { |
videoPosterAccessedCallbackHelper.notifyCalled(); |
} |
return null; |