Index: chrome/android/javatests/src/org/chromium/chrome/browser/precache/PrecacheServiceTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/precache/PrecacheServiceTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/precache/PrecacheServiceTest.java |
index 56345f2bbcf85220be2827c789341f23a7441177..1e4ab3848a61e2595bca2243a92b3557a9f9d9e5 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/precache/PrecacheServiceTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/precache/PrecacheServiceTest.java |
@@ -38,8 +38,8 @@ public class PrecacheServiceTest extends ServiceTestCase<MockPrecacheService> { |
public void cancel() {} |
@Override |
- protected void onPrecacheCompleted() { |
- mService.handlePrecacheCompleted(); |
+ protected void onPrecacheCompleted(boolean precacheStarted) { |
+ mService.handlePrecacheCompleted(precacheStarted); |
} |
} |
@@ -125,7 +125,7 @@ public class PrecacheServiceTest extends ServiceTestCase<MockPrecacheService> { |
setupService(); |
startAndChangeDeviceState(getService(), true, false, true); |
assertTrue("Precaching should be in progress", getService().isPrecaching()); |
- mPrecacheLauncher.onPrecacheCompleted(); |
+ mPrecacheLauncher.onPrecacheCompleted(true); |
assertFalse("Precaching should not be in progress after completion", |
getService().isPrecaching()); |
} |