Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: sync/internal_api/attachments/in_memory_attachment_store_unittest.cc

Issue 996473005: Revert of [Sync] Refactor AttachmentStore classes. Introduce concept of referrer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_ptr<AttachmentStore> CreateAttachmentStore() { 16 scoped_refptr<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
OLDNEW
« no previous file with comments | « sync/internal_api/attachments/in_memory_attachment_store.cc ('k') | sync/internal_api/attachments/on_disk_attachment_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698