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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java

Issue 589113002: Rename java WebContentsObserverAndroid to WebContentsObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style issues fixed Created 6 years, 2 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: 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..fcccd593d2ba48f84c657b0561b24dac045dcc1e 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,12 @@ public class InterstitialPageTest extends ContentShellTestBase {
proceed();
}
};
- TestWebContentsObserverAndroid observer = ThreadUtils.runOnUiThreadBlocking(
- new Callable<TestWebContentsObserverAndroid>() {
+ TestWebContentsObserver observer = ThreadUtils.runOnUiThreadBlocking(
+ new Callable<TestWebContentsObserver>() {
@Override
- public TestWebContentsObserverAndroid call() throws Exception {
+ public TestWebContentsObserver call() throws Exception {
getWebContents().showInterstitialPage(URL, delegate.getNative());
- return new TestWebContentsObserverAndroid(getWebContents());
+ return new TestWebContentsObserver(getWebContents());
}
});

Powered by Google App Engine
This is Rietveld 408576698