| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sync/api/attachments/attachment_store.h" | 5 #include "sync/api/attachments/attachment_store.h" |
| 6 | 6 |
| 7 #include "sync/internal_api/attachments/attachment_store_test_template.h" | 7 #include "sync/internal_api/attachments/attachment_store_test_template.h" |
| 8 | 8 |
| 9 namespace syncer { | 9 namespace syncer { |
| 10 | 10 |
| 11 class InMemoryAttachmentStoreFactory { | 11 class InMemoryAttachmentStoreFactory { |
| 12 public: | 12 public: |
| 13 InMemoryAttachmentStoreFactory() {} | 13 InMemoryAttachmentStoreFactory() {} |
| 14 ~InMemoryAttachmentStoreFactory() {} | 14 ~InMemoryAttachmentStoreFactory() {} |
| 15 | 15 |
| 16 scoped_refptr<AttachmentStore> CreateAttachmentStore() { | 16 scoped_ptr<AttachmentStore> CreateAttachmentStore() { |
| 17 return AttachmentStore::CreateInMemoryStore(); | 17 return AttachmentStore::CreateInMemoryStore(); |
| 18 } | 18 } |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 INSTANTIATE_TYPED_TEST_CASE_P(InMemory, | 21 INSTANTIATE_TYPED_TEST_CASE_P(InMemory, |
| 22 AttachmentStoreTest, | 22 AttachmentStoreTest, |
| 23 InMemoryAttachmentStoreFactory); | 23 InMemoryAttachmentStoreFactory); |
| 24 | 24 |
| 25 } // namespace syncer | 25 } // namespace syncer |
| OLD | NEW |