Index: chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
index e13edb0942144d0f54c7f5dfab6d4f9ef5a37c45..a9dc1acf8fe33d9a285317a4db315fa18ee86410 100644 |
--- a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc |
@@ -122,7 +122,14 @@ class ProfileSyncComponentsFactoryImplTest : public testing::Test { |
scoped_ptr<ProfileSyncService> pss(new ProfileSyncService( |
sync_client.Pass(), profile_.get(), |
make_scoped_ptr<SigninManagerWrapper>(NULL), token_service, |
- browser_sync::MANUAL_START, base::Bind(&EmptyNetworkTimeUpdate))); |
+ browser_sync::MANUAL_START, base::Bind(&EmptyNetworkTimeUpdate), |
+ profile_->GetPath(), profile_->GetRequestContext(), |
+ profile_->GetDebugName(), chrome::GetChannel(), |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::DB), |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::FILE), |
+ content::BrowserThread::GetBlockingPool())); |
pss->GetSyncClient()->Initialize(pss.get()); |
DataTypeController::StateMap controller_states; |
pss->GetDataTypeControllerStates(&controller_states); |
@@ -149,7 +156,14 @@ TEST_F(ProfileSyncComponentsFactoryImplTest, CreatePSSDefault) { |
scoped_ptr<ProfileSyncService> pss(new ProfileSyncService( |
sync_client.Pass(), profile_.get(), |
make_scoped_ptr<SigninManagerWrapper>(NULL), token_service, |
- browser_sync::MANUAL_START, base::Bind(&EmptyNetworkTimeUpdate))); |
+ browser_sync::MANUAL_START, base::Bind(&EmptyNetworkTimeUpdate), |
+ profile_->GetPath(), profile_->GetRequestContext(), |
+ profile_->GetDebugName(), chrome::GetChannel(), |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::DB), |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::FILE), |
+ content::BrowserThread::GetBlockingPool())); |
pss->GetSyncClient()->Initialize(pss.get()); |
DataTypeController::StateMap controller_states; |
pss->GetDataTypeControllerStates(&controller_states); |