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

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: changes incorporated in WebContentsObserverAndroid 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 d23a626625e9d6d7c6e882df2ac3fda2dec7fef2..12d09ad97738133afbfa0f271f385cb795995517 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 {
getContentViewCore().showInterstitialPage(URL, delegate);
- return new TestWebContentsObserverAndroid(
+ return new TestWebContentsObserver(
getContentViewCore().getWebContents());
}
});

Powered by Google App Engine
This is Rietveld 408576698