Index: chrome/browser/sync/profile_sync_service_startup_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
index 52d6406a04e40efcb5a4b49d68adba42845a7fca..6f9678a830c430ae3adeeae5e5cf841fcf77e8b0 100644 |
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
@@ -404,7 +404,7 @@ TEST_F(ProfileSyncServiceStartupTest, StartDownloadFailed) { |
// Preload the tokens. |
TokenServiceFactory::GetForProfile(profile_.get())->IssueAuthTokenForTest( |
GaiaConstants::kSyncService, "sync_token"); |
- service_->fail_initial_download(); |
+ service_->fail_all_downloads(); |
service_->Initialize(); |
EXPECT_FALSE(service_->sync_initialized()); |