| 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 8553c3b210aec51b2cdc4444a5d368d1feeb01fe..d1a710fdde0330d8080b738f00f6341e17c35b6d 100644
|
| --- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
|
| @@ -99,7 +99,7 @@ class ProfileSyncServiceStartupTest : public testing::Test {
|
| new ManagedUserSigninManagerWrapper(
|
| SigninManagerFactory::GetForProfile(profile)),
|
| ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
|
| - ProfileSyncService::MANUAL_START);
|
| + browser_sync::MANUAL_START);
|
| }
|
|
|
| void CreateSyncService() {
|
| @@ -167,7 +167,7 @@ class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest {
|
| profile,
|
| new ManagedUserSigninManagerWrapper(signin),
|
| oauth2_token_service,
|
| - ProfileSyncService::AUTO_START);
|
| + browser_sync::AUTO_START);
|
| }
|
| };
|
|
|
| @@ -510,10 +510,10 @@ TEST_F(ProfileSyncServiceStartupTest, StartDownloadFailed) {
|
| profile_->GetPrefs()->ClearPref(prefs::kSyncHasSetupCompleted);
|
|
|
| EXPECT_CALL(observer_, OnStateChanged()).Times(AnyNumber());
|
| - IssueTestTokens();
|
| + sync_->Initialize();
|
|
|
| sync_->SetSetupInProgress(true);
|
| - sync_->Initialize();
|
| + IssueTestTokens();
|
| sync_->SetSetupInProgress(false);
|
| EXPECT_FALSE(sync_->sync_initialized());
|
| }
|
|
|