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/fake_generic_change_processor.h" | 5 #include "components/sync_driver/fake_generic_change_processor.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "sync/api/syncable_service.h" | 11 #include "components/sync/api/syncable_service.h" |
12 #include "sync/internal_api/public/attachments/attachment_service_impl.h" | 12 #include "components/sync/core/attachments/attachment_service_impl.h" |
13 | 13 |
14 namespace sync_driver { | 14 namespace sync_driver { |
15 | 15 |
16 FakeGenericChangeProcessor::FakeGenericChangeProcessor( | 16 FakeGenericChangeProcessor::FakeGenericChangeProcessor( |
17 syncer::ModelType type, | 17 syncer::ModelType type, |
18 SyncClient* sync_client) | 18 SyncClient* sync_client) |
19 : GenericChangeProcessor(type, | 19 : GenericChangeProcessor(type, |
20 NULL, | 20 NULL, |
21 base::WeakPtr<syncer::SyncableService>(), | 21 base::WeakPtr<syncer::SyncableService>(), |
22 base::WeakPtr<syncer::SyncMergeResult>(), | 22 base::WeakPtr<syncer::SyncMergeResult>(), |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 syncer::ModelType type, | 78 syncer::ModelType type, |
79 syncer::UserShare* user_share, | 79 syncer::UserShare* user_share, |
80 syncer::DataTypeErrorHandler* error_handler, | 80 syncer::DataTypeErrorHandler* error_handler, |
81 const base::WeakPtr<syncer::SyncableService>& local_service, | 81 const base::WeakPtr<syncer::SyncableService>& local_service, |
82 const base::WeakPtr<syncer::SyncMergeResult>& merge_result, | 82 const base::WeakPtr<syncer::SyncMergeResult>& merge_result, |
83 SyncClient* sync_client) { | 83 SyncClient* sync_client) { |
84 return std::move(processor_); | 84 return std::move(processor_); |
85 } | 85 } |
86 | 86 |
87 } // namespace sync_driver | 87 } // namespace sync_driver |
OLD | NEW |