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 #ifndef COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ |
6 #define COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ | 6 #define COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
13 #include "base/memory/ref_counted_memory.h" | 13 #include "base/memory/ref_counted_memory.h" |
| 14 #include "base/message_loop/message_loop.h" |
14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
15 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
16 #include "components/sync/engine/attachments/attachment_util.h" | 17 #include "components/sync/engine/attachments/attachment_util.h" |
17 #include "components/sync/model/attachments/attachment.h" | 18 #include "components/sync/model/attachments/attachment.h" |
18 #include "components/sync/model/attachments/attachment_store.h" | 19 #include "components/sync/model/attachments/attachment_store.h" |
19 #include "components/sync/protocol/sync.pb.h" | 20 #include "components/sync/protocol/sync.pb.h" |
20 #include "testing/gmock/include/gmock/gmock-matchers.h" | 21 #include "testing/gmock/include/gmock/gmock-matchers.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
22 | 23 |
23 // AttachmentStoreTest defines tests for AttachmentStore. To instantiate these | 24 // AttachmentStoreTest defines tests for AttachmentStore. To instantiate these |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 Read_OneNotFound, | 514 Read_OneNotFound, |
514 Drop_DropTwoButOnlyOneExists, | 515 Drop_DropTwoButOnlyOneExists, |
515 Drop_DoesNotExist, | 516 Drop_DoesNotExist, |
516 ReadMetadataById, | 517 ReadMetadataById, |
517 ReadMetadata, | 518 ReadMetadata, |
518 SetSyncReference_DropSyncReference); | 519 SetSyncReference_DropSyncReference); |
519 | 520 |
520 } // namespace syncer | 521 } // namespace syncer |
521 | 522 |
522 #endif // COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ | 523 #endif // COMPONENTS_SYNC_ENGINE_ATTACHMENTS_ATTACHMENT_STORE_TEST_TEMPLATE_H_ |
OLD | NEW |