| Index: chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.cc b/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| index b0881df0948a05013780f4b8d5554af81cedb48f..a54c72671d8c1d2fd4e5fc9be63c55e12d87fe46 100644
|
| --- a/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| +++ b/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| @@ -595,13 +595,9 @@ OAuth2TokenService* TokenServiceProvider::GetTokenService() {
|
|
|
| scoped_ptr<syncer::AttachmentService>
|
| ProfileSyncComponentsFactoryImpl::CreateAttachmentService(
|
| + const scoped_refptr<syncer::AttachmentStore>& attachment_store,
|
| const syncer::UserShare& user_share,
|
| syncer::AttachmentService::Delegate* delegate) {
|
| -
|
| - scoped_ptr<syncer::AttachmentStore> attachment_store(
|
| - new syncer::FakeAttachmentStore(
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE)));
|
| -
|
| scoped_ptr<syncer::AttachmentUploader> attachment_uploader;
|
| scoped_ptr<syncer::AttachmentDownloader> attachment_downloader;
|
| // Only construct an AttachmentUploader and AttachmentDownload if we have sync
|
| @@ -637,7 +633,7 @@ ProfileSyncComponentsFactoryImpl::CreateAttachmentService(
|
| }
|
|
|
| scoped_ptr<syncer::AttachmentService> attachment_service(
|
| - new syncer::AttachmentServiceImpl(attachment_store.Pass(),
|
| + new syncer::AttachmentServiceImpl(attachment_store,
|
| attachment_uploader.Pass(),
|
| attachment_downloader.Pass(),
|
| delegate));
|
|
|