| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DRIVER_SYNC_API_COMPONENT_FACTORY_MOCK_H__ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_MOCK_H__ |
| 6 #define COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_MOCK_H__ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_MOCK_H__ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "components/sync/api/data_type_error_handler.h" | |
| 12 #include "components/sync/base/model_type.h" | 11 #include "components/sync/base/model_type.h" |
| 13 #include "components/sync/driver/data_type_controller.h" | 12 #include "components/sync/driver/data_type_controller.h" |
| 14 #include "components/sync/driver/sync_api_component_factory.h" | 13 #include "components/sync/driver/sync_api_component_factory.h" |
| 14 #include "components/sync/model/data_type_error_handler.h" |
| 15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 16 | 16 |
| 17 namespace syncer { | 17 namespace syncer { |
| 18 | 18 |
| 19 class AssociatorInterface; | 19 class AssociatorInterface; |
| 20 class ChangeProcessor; | 20 class ChangeProcessor; |
| 21 class DataTypeEncryptionHandler; | 21 class DataTypeEncryptionHandler; |
| 22 class DataTypeStatusTable; | 22 class DataTypeStatusTable; |
| 23 class SyncClient; | 23 class SyncClient; |
| 24 | 24 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 std::unique_ptr<AssociatorInterface> model_associator_; | 64 std::unique_ptr<AssociatorInterface> model_associator_; |
| 65 std::unique_ptr<ChangeProcessor> change_processor_; | 65 std::unique_ptr<ChangeProcessor> change_processor_; |
| 66 // LocalDeviceInfoProvider is initially owned by this class, | 66 // LocalDeviceInfoProvider is initially owned by this class, |
| 67 // transferred to caller when CreateLocalDeviceInfoProvider is called. | 67 // transferred to caller when CreateLocalDeviceInfoProvider is called. |
| 68 std::unique_ptr<LocalDeviceInfoProvider> local_device_; | 68 std::unique_ptr<LocalDeviceInfoProvider> local_device_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace syncer | 71 } // namespace syncer |
| 72 | 72 |
| 73 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_MOCK_H__ | 73 #endif // COMPONENTS_SYNC_DRIVER_SYNC_API_COMPONENT_FACTORY_MOCK_H__ |
| OLD | NEW |