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 04ae1f96faa743b446aa353cd31b2389e2a045d3..b5a773bb09c6be0de0b12d67d4aea00e147c77e5 100644 |
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc |
@@ -127,9 +127,8 @@ TEST_F(ProfileSyncServiceStartupTest, StartFirstTime) { |
profile_->GetTokenService()->IssueAuthTokenForTest( |
GaiaConstants::kGaiaOAuth2LoginRefreshToken, "oauth2_login_token"); |
- syncable::ModelTypeSet set; |
- set.insert(syncable::BOOKMARKS); |
- service_->OnUserChoseDatatypes(false, set); |
+ service_->OnUserChoseDatatypes( |
+ false, syncable::ModelEnumSet(syncable::BOOKMARKS)); |
EXPECT_TRUE(service_->ShouldPushChanges()); |
} |
@@ -278,7 +277,7 @@ TEST_F(ProfileSyncServiceStartupTest, StartFailure) { |
errors.push_back(error); |
browser_sync::DataTypeManager::ConfigureResult result( |
status, |
- syncable::ModelTypeSet(), |
+ syncable::ModelEnumSet(), |
errors); |
EXPECT_CALL(*data_type_manager, Configure(_, _)). |
WillRepeatedly( |