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