Index: chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc b/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc |
index c452286c8deaae5e97d8fc98757edd5dd508a3d0..2ae4a07ad2d6c50341e29a04e29216b079dfb0f5 100644 |
--- a/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc |
+++ b/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc |
@@ -129,7 +129,8 @@ void RecommendationRestorerTest::CreateLoginProfile() { |
ASSERT_FALSE(restorer_); |
TestingProfile* profile = profile_manager_.CreateTestingProfile( |
chrome::kInitialProfile, prefs_owner_.Pass(), |
- UTF8ToUTF16(chrome::kInitialProfile), 0, std::string()); |
+ UTF8ToUTF16(chrome::kInitialProfile), 0, std::string(), |
+ TestingProfile::TestingFactories()); |
restorer_ = RecommendationRestorerFactory::GetForProfile(profile); |
EXPECT_TRUE(restorer_); |
} |
@@ -137,7 +138,8 @@ void RecommendationRestorerTest::CreateLoginProfile() { |
void RecommendationRestorerTest::CreateUserProfile() { |
ASSERT_FALSE(restorer_); |
TestingProfile* profile = profile_manager_.CreateTestingProfile( |
- "user", prefs_owner_.Pass(), UTF8ToUTF16("user"), 0, std::string()); |
+ "user", prefs_owner_.Pass(), UTF8ToUTF16("user"), 0, std::string(), |
+ TestingProfile::TestingFactories()); |
restorer_ = RecommendationRestorerFactory::GetForProfile(profile); |
EXPECT_TRUE(restorer_); |
} |