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 "components/sync/driver/shared_change_processor.h" | 5 #include "components/sync/driver/shared_change_processor.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 #include <memory> | |
9 #include <string> | |
10 | 8 |
11 #include "base/bind.h" | 9 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
13 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
14 #include "base/location.h" | |
15 #include "base/single_thread_task_runner.h" | |
16 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
17 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
18 #include "components/sync/api/attachments/attachment_id.h" | 14 #include "components/sync/api/attachments/attachment_id.h" |
19 #include "components/sync/api/attachments/attachment_store.h" | 15 #include "components/sync/api/attachments/attachment_store.h" |
20 #include "components/sync/api/data_type_error_handler_mock.h" | 16 #include "components/sync/api/data_type_error_handler_mock.h" |
21 #include "components/sync/api/fake_syncable_service.h" | 17 #include "components/sync/api/fake_syncable_service.h" |
22 #include "components/sync/base/model_type.h" | 18 #include "components/sync/base/model_type.h" |
23 #include "components/sync/core/attachments/attachment_service_impl.h" | 19 #include "components/sync/core/attachments/attachment_service_impl.h" |
24 #include "components/sync/core/test/test_user_share.h" | 20 #include "components/sync/core/test/test_user_share.h" |
25 #include "components/sync/device_info/local_device_info_provider.h" | 21 #include "components/sync/device_info/local_device_info_provider.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 // creates AttachmentService and passes it back to the syncable service. | 223 // creates AttachmentService and passes it back to the syncable service. |
228 TEST_F(SyncSharedChangeProcessorTest, ConnectWithAttachmentStore) { | 224 TEST_F(SyncSharedChangeProcessorTest, ConnectWithAttachmentStore) { |
229 SetAttachmentStore(); | 225 SetAttachmentStore(); |
230 Connect(); | 226 Connect(); |
231 EXPECT_TRUE(HasAttachmentService()); | 227 EXPECT_TRUE(HasAttachmentService()); |
232 } | 228 } |
233 | 229 |
234 } // namespace | 230 } // namespace |
235 | 231 |
236 } // namespace syncer | 232 } // namespace syncer |
OLD | NEW |