| 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 4943bf8d9c7dc0997fb7bb39571d4da77552dcc5..38bfbd1adc7554bb1ef5168198785e06ddc742ac 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,9 +21,10 @@ 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;
|
| +import org.chromium.android_webview.AwWebResourceResponse;
|
| import org.chromium.android_webview.test.util.CommonResources;
|
| import org.chromium.android_webview.test.util.ImagePageGenerator;
|
| import org.chromium.android_webview.test.util.VideoTestUtil;
|
| @@ -2568,8 +2569,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 AwWebResourceResponse shouldInterceptRequest(
|
| + ShouldInterceptRequestParams params) {
|
| + if (params.url.equals(DEFAULT_VIDEO_POSTER_URL)) {
|
| videoPosterAccessedCallbackHelper.notifyCalled();
|
| }
|
| return null;
|
|
|