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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java

Issue 159173002: Refactor ActivityStatus to not store current activity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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: chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java
index 97e3f23f59234237b680137c33057717bbf4d326..fb085cb1d1e771146c15cf06c37b0d242be01733 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java
@@ -16,7 +16,7 @@ import com.google.common.annotations.VisibleForTesting;
import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
-import org.chromium.base.ActivityStatus;
+import org.chromium.base.ApplicationStatus;
import org.chromium.base.test.util.Feature;
import org.chromium.chrome.testshell.ChromiumTestShellTestBase;
import org.chromium.content.browser.test.util.Criteria;
@@ -114,6 +114,6 @@ public class DelayedSyncControllerTest extends ChromiumTestShellTestBase {
}
private static boolean isActivityResumed() {
- return ActivityStatus.isApplicationVisible();
+ return ApplicationStatus.hasVisibleActivities();
}
}

Powered by Google App Engine
This is Rietveld 408576698