Index: content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
index 47fa6a73667ee6da97af9a6bbb46aaeb0870d363..b1088ffafc9d4fd06f35499257a25493212cfc29 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
@@ -27,10 +27,10 @@ public class InterstitialPageTest extends ContentShellTestBase { |
private static final String URL = UrlUtils.encodeHtmlDataUri( |
"<html><head></head><body>test</body></html>"); |
- private static class TestWebContentsObserverAndroid extends WebContentsObserverAndroid { |
+ private static class TestWebContentsObserver extends WebContentsObserver { |
private boolean mInterstitialShowing; |
- public TestWebContentsObserverAndroid(WebContents webContents) { |
+ public TestWebContentsObserver(WebContents webContents) { |
super(webContents); |
} |
@@ -111,12 +111,15 @@ public class InterstitialPageTest extends ContentShellTestBase { |
proceed(); |
} |
}; |
- TestWebContentsObserverAndroid observer = ThreadUtils.runOnUiThreadBlocking( |
- new Callable<TestWebContentsObserverAndroid>() { |
+ TestWebContentsObserver observer = ThreadUtils.runOnUiThreadBlocking( |
nyquist
2014/10/14 17:15:16
The Java code is supposed to be wrapped at 100 cha
wajahat
2014/10/15 07:15:22
Wrapping at 100 chars, Done.
|
+ new Callable<TestWebContentsObserver>() { |
@Override |
- public TestWebContentsObserverAndroid call() throws Exception { |
- getWebContents().showInterstitialPage(URL, delegate.getNative()); |
- return new TestWebContentsObserverAndroid(getWebContents()); |
+ public TestWebContentsObserver call() |
+ throws Exception { |
+ getWebContents().showInterstitialPage(URL, |
+ delegate.getNative()); |
+ return new TestWebContentsObserver( |
+ getWebContents()); |
} |
}); |