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

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java

Issue 1526433002: Revert of Update media notification when page title changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java
index 16a6b3a26bf69d451bddf05ccb36d4db9ace1e63..006b0d56f079f6bb9ccffe7cdf31f2cfe7e5aac6 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java
@@ -352,8 +352,8 @@
* Load a url in a new tab. The {@link Tab} will pretend to be created from a link.
* @param url The url of the page to load.
*/
- public Tab loadUrlInNewTab(final String url) throws InterruptedException {
- return loadUrlInNewTab(url, false);
+ public void loadUrlInNewTab(final String url) throws InterruptedException {
+ loadUrlInNewTab(url, false);
}
/**
@@ -361,7 +361,7 @@
* @param url The url of the page to load.
* @param incognito Whether the new tab should be incognito.
*/
- public Tab loadUrlInNewTab(final String url, final boolean incognito)
+ public void loadUrlInNewTab(final String url, final boolean incognito)
throws InterruptedException {
Tab tab = null;
if (FeatureUtilities.isDocumentMode(getInstrumentation().getContext())) {
@@ -405,7 +405,6 @@
}
ChromeTabUtils.waitForTabPageLoaded(tab, url);
getInstrumentation().waitForIdleSync();
- return tab;
}
/**

Powered by Google App Engine
This is Rietveld 408576698