| 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/generic_change_processor.h" | 5 #include "components/sync/driver/generic_change_processor.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <string> | |
| 11 #include <utility> | 10 #include <utility> |
| 12 | 11 |
| 13 #include "base/location.h" | 12 #include "base/location.h" |
| 14 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 16 #include "base/threading/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
| 17 #include "components/sync/api/data_type_error_handler.h" | |
| 18 #include "components/sync/api/local_change_observer.h" | 16 #include "components/sync/api/local_change_observer.h" |
| 19 #include "components/sync/api/sync_change.h" | 17 #include "components/sync/api/sync_change.h" |
| 20 #include "components/sync/api/sync_error.h" | 18 #include "components/sync/api/sync_error.h" |
| 21 #include "components/sync/api/syncable_service.h" | 19 #include "components/sync/api/syncable_service.h" |
| 22 #include "components/sync/base/unrecoverable_error_handler.h" | 20 #include "components/sync/base/unrecoverable_error_handler.h" |
| 23 #include "components/sync/core/base_node.h" | 21 #include "components/sync/core/base_node.h" |
| 24 #include "components/sync/core/change_record.h" | 22 #include "components/sync/core/change_record.h" |
| 25 #include "components/sync/core/read_node.h" | 23 #include "components/sync/core/read_node.h" |
| 26 #include "components/sync/core/read_transaction.h" | 24 #include "components/sync/core/read_transaction.h" |
| 27 #include "components/sync/core/write_node.h" | 25 #include "components/sync/core/write_node.h" |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 OnLocalChange(current_entry, change)); | 705 OnLocalChange(current_entry, change)); |
| 708 } | 706 } |
| 709 | 707 |
| 710 std::unique_ptr<syncer::AttachmentService> | 708 std::unique_ptr<syncer::AttachmentService> |
| 711 GenericChangeProcessor::GetAttachmentService() const { | 709 GenericChangeProcessor::GetAttachmentService() const { |
| 712 return std::unique_ptr<syncer::AttachmentService>( | 710 return std::unique_ptr<syncer::AttachmentService>( |
| 713 new syncer::AttachmentServiceProxy(attachment_service_proxy_)); | 711 new syncer::AttachmentServiceProxy(attachment_service_proxy_)); |
| 714 } | 712 } |
| 715 | 713 |
| 716 } // namespace sync_driver | 714 } // namespace sync_driver |
| OLD | NEW |