| 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..c60ada82793af3e9bc2fb3370b8e9304a22a50c8 100644
|
| --- a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc
|
| @@ -120,9 +120,16 @@ class ProfileSyncComponentsFactoryImplTest : public testing::Test {
|
| scoped_ptr<sync_driver::SyncClient> sync_client(
|
| new browser_sync::ChromeSyncClient(profile_.get(), factory.Pass()));
|
| scoped_ptr<ProfileSyncService> pss(new ProfileSyncService(
|
| - sync_client.Pass(), profile_.get(),
|
| + sync_client.Pass(),
|
| 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);
|
| @@ -147,9 +154,16 @@ TEST_F(ProfileSyncComponentsFactoryImplTest, CreatePSSDefault) {
|
| scoped_ptr<sync_driver::SyncClient> sync_client(
|
| new browser_sync::ChromeSyncClient(profile_.get(), factory.Pass()));
|
| scoped_ptr<ProfileSyncService> pss(new ProfileSyncService(
|
| - sync_client.Pass(), profile_.get(),
|
| + sync_client.Pass(),
|
| 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);
|
|
|