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 #include <algorithm> | 8 #include <algorithm> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "components/sync_driver/sync_api_component_factory.h" | 16 #include "components/sync_driver/sync_api_component_factory.h" |
17 #include "components/sync_driver/sync_client.h" | 17 #include "components/sync_driver/sync_client.h" |
18 #include "sync/api/sync_change.h" | 18 #include "sync/api/sync_change.h" |
19 #include "sync/api/sync_error.h" | 19 #include "sync/api/sync_error.h" |
20 #include "sync/api/syncable_service.h" | 20 #include "sync/api/syncable_service.h" |
21 #include "sync/internal_api/public/base_node.h" | 21 #include "sync/internal_api/public/base_node.h" |
22 #include "sync/internal_api/public/change_record.h" | 22 #include "sync/internal_api/public/change_record.h" |
23 #include "sync/internal_api/public/read_node.h" | 23 #include "sync/internal_api/public/read_node.h" |
24 #include "sync/internal_api/public/read_transaction.h" | 24 #include "sync/internal_api/public/read_transaction.h" |
25 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 25 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 } | 694 } |
695 } | 695 } |
696 | 696 |
697 std::unique_ptr<syncer::AttachmentService> | 697 std::unique_ptr<syncer::AttachmentService> |
698 GenericChangeProcessor::GetAttachmentService() const { | 698 GenericChangeProcessor::GetAttachmentService() const { |
699 return std::unique_ptr<syncer::AttachmentService>( | 699 return std::unique_ptr<syncer::AttachmentService>( |
700 new syncer::AttachmentServiceProxy(attachment_service_proxy_)); | 700 new syncer::AttachmentServiceProxy(attachment_service_proxy_)); |
701 } | 701 } |
702 | 702 |
703 } // namespace sync_driver | 703 } // namespace sync_driver |
OLD | NEW |