| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
| 10 #include "components/sync_driver/generic_change_processor.h" | 10 #include "components/sync_driver/generic_change_processor.h" |
| 11 #include "components/sync_driver/generic_change_processor_factory.h" | 11 #include "components/sync_driver/generic_change_processor_factory.h" |
| 12 #include "components/sync_driver/sync_client.h" | 12 #include "components/sync_driver/sync_client.h" |
| 13 #include "sync/api/sync_change.h" | 13 #include "sync/api/sync_change.h" |
| 14 #include "sync/api/syncable_service.h" | 14 #include "sync/api/syncable_service.h" |
| 15 | 15 |
| 16 using base::AutoLock; | 16 using base::AutoLock; |
| 17 | 17 |
| 18 namespace syncer { | 18 namespace syncer { |
| 19 class AttachmentService; | 19 class AttachmentService; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 return error_handler_->CreateAndUploadError(location, message, type_); | 215 return error_handler_->CreateAndUploadError(location, message, type_); |
| 216 } else { | 216 } else { |
| 217 return syncer::SyncError(location, | 217 return syncer::SyncError(location, |
| 218 syncer::SyncError::DATATYPE_ERROR, | 218 syncer::SyncError::DATATYPE_ERROR, |
| 219 message, | 219 message, |
| 220 type_); | 220 type_); |
| 221 } | 221 } |
| 222 } | 222 } |
| 223 | 223 |
| 224 } // namespace sync_driver | 224 } // namespace sync_driver |
| OLD | NEW |