Index: components/sync_driver/generic_change_processor_unittest.cc |
diff --git a/components/sync_driver/generic_change_processor_unittest.cc b/components/sync_driver/generic_change_processor_unittest.cc |
index f3c580e335f553bd276a83c2dc23fa1d1f489713..e84cf5e4059c07363c38e7570c9cb41fee2d478a 100644 |
--- a/components/sync_driver/generic_change_processor_unittest.cc |
+++ b/components/sync_driver/generic_change_processor_unittest.cc |
@@ -12,7 +12,7 @@ |
#include "components/sync_driver/data_type_error_handler_mock.h" |
#include "components/sync_driver/sync_api_component_factory.h" |
#include "sync/api/attachments/attachment_id.h" |
-#include "sync/api/attachments/fake_attachment_store.h" |
+#include "sync/api/attachments/attachment_store.h" |
#include "sync/api/fake_syncable_service.h" |
#include "sync/api/sync_change.h" |
#include "sync/api/sync_merge_result.h" |
@@ -147,8 +147,8 @@ class SyncGenericChangeProcessorTest : public testing::Test { |
} |
void ConstructGenericChangeProcessor(syncer::ModelType type) { |
- scoped_refptr<syncer::AttachmentStore> attachment_store( |
- new syncer::FakeAttachmentStore(base::MessageLoopProxy::current())); |
+ scoped_refptr<syncer::AttachmentStore> attachment_store = |
+ syncer::AttachmentStore::CreateInMemoryStore(); |
scoped_ptr<MockAttachmentService> mock_attachment_service( |
new MockAttachmentService(attachment_store)); |
// GenericChangeProcessor takes ownership of the AttachmentService, but we |