| 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 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
| 13 #include "base/message_loop/message_loop.h" |
| 13 #include "base/synchronization/waitable_event.h" | 14 #include "base/synchronization/waitable_event.h" |
| 14 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 15 #include "components/sync/base/model_type.h" | 16 #include "components/sync/base/model_type.h" |
| 16 #include "components/sync/device_info/local_device_info_provider.h" | 17 #include "components/sync/device_info/local_device_info_provider.h" |
| 17 #include "components/sync/driver/fake_sync_client.h" | 18 #include "components/sync/driver/fake_sync_client.h" |
| 18 #include "components/sync/driver/generic_change_processor.h" | 19 #include "components/sync/driver/generic_change_processor.h" |
| 19 #include "components/sync/driver/generic_change_processor_factory.h" | 20 #include "components/sync/driver/generic_change_processor_factory.h" |
| 20 #include "components/sync/driver/sync_api_component_factory.h" | 21 #include "components/sync/driver/sync_api_component_factory.h" |
| 21 #include "components/sync/model/attachments/attachment_id.h" | 22 #include "components/sync/model/attachments/attachment_id.h" |
| 22 #include "components/sync/model/attachments/attachment_service.h" | 23 #include "components/sync/model/attachments/attachment_service.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // creates AttachmentService and passes it back to the syncable service. | 225 // creates AttachmentService and passes it back to the syncable service. |
| 225 TEST_F(SyncSharedChangeProcessorTest, ConnectWithAttachmentStore) { | 226 TEST_F(SyncSharedChangeProcessorTest, ConnectWithAttachmentStore) { |
| 226 SetAttachmentStore(); | 227 SetAttachmentStore(); |
| 227 Connect(); | 228 Connect(); |
| 228 EXPECT_TRUE(HasAttachmentService()); | 229 EXPECT_TRUE(HasAttachmentService()); |
| 229 } | 230 } |
| 230 | 231 |
| 231 } // namespace | 232 } // namespace |
| 232 | 233 |
| 233 } // namespace syncer | 234 } // namespace syncer |
| OLD | NEW |