Index: chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java |
index 94ab592c4c147aa004951fcaf728d0f65fa6a6a7..e421514e916d4b8bfdb06cde4a4613d06a0de069 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java |
@@ -293,8 +293,7 @@ public class DownloadTest extends DownloadTestBase { |
}); |
} |
- private void waitForNewTabToStabilize(final int numTabsAfterNewTab) |
- throws InterruptedException { |
+ private void waitForNewTabToStabilize(final int numTabsAfterNewTab) { |
// Wait until we have a new tab first. This should be called before checking the active |
// layout because the active layout changes StaticLayout --> SimpleAnimationLayout |
// --> (tab added) --> StaticLayout. |
@@ -388,7 +387,7 @@ public class DownloadTest extends DownloadTestBase { |
* is one more more. |
* @param size The size of info bars to poll for. |
*/ |
- private void assertPollForInfoBarSize(final int size) throws InterruptedException { |
+ private void assertPollForInfoBarSize(final int size) { |
final InfoBarContainer container = getActivity().getActivityTab().getInfoBarContainer(); |
CriteriaHelper.pollUiThread(new Criteria() { |
@Override |