OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/syncable/directory.h" | 5 #include "components/sync/syncable/directory.h" |
6 | 6 |
7 #include <stddef.h> | |
8 #include <stdint.h> | |
9 | |
10 #include <algorithm> | 7 #include <algorithm> |
11 #include <iterator> | 8 #include <iterator> |
12 #include <utility> | 9 #include <utility> |
13 | 10 |
14 #include "base/base64.h" | 11 #include "base/base64.h" |
15 #include "base/guid.h" | 12 #include "base/guid.h" |
16 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
17 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
18 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
19 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
20 #include "components/sync/base/attachment_id_proto.h" | 17 #include "components/sync/base/attachment_id_proto.h" |
21 #include "components/sync/base/unique_position.h" | 18 #include "components/sync/base/unique_position.h" |
22 #include "components/sync/base/unrecoverable_error_handler.h" | 19 #include "components/sync/base/unrecoverable_error_handler.h" |
23 #include "components/sync/syncable/entry.h" | |
24 #include "components/sync/syncable/entry_kernel.h" | |
25 #include "components/sync/syncable/in_memory_directory_backing_store.h" | 20 #include "components/sync/syncable/in_memory_directory_backing_store.h" |
26 #include "components/sync/syncable/model_neutral_mutable_entry.h" | 21 #include "components/sync/syncable/model_neutral_mutable_entry.h" |
27 #include "components/sync/syncable/on_disk_directory_backing_store.h" | 22 #include "components/sync/syncable/on_disk_directory_backing_store.h" |
28 #include "components/sync/syncable/scoped_kernel_lock.h" | 23 #include "components/sync/syncable/scoped_kernel_lock.h" |
29 #include "components/sync/syncable/scoped_parent_child_index_updater.h" | 24 #include "components/sync/syncable/scoped_parent_child_index_updater.h" |
30 #include "components/sync/syncable/syncable_base_transaction.h" | 25 #include "components/sync/syncable/syncable_base_transaction.h" |
31 #include "components/sync/syncable/syncable_changes_version.h" | 26 #include "components/sync/syncable/syncable_changes_version.h" |
32 #include "components/sync/syncable/syncable_read_transaction.h" | 27 #include "components/sync/syncable/syncable_read_transaction.h" |
33 #include "components/sync/syncable/syncable_util.h" | 28 #include "components/sync/syncable/syncable_util.h" |
34 #include "components/sync/syncable/syncable_write_transaction.h" | 29 #include "components/sync/syncable/syncable_write_transaction.h" |
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1533 Directory::Kernel* Directory::kernel() { | 1528 Directory::Kernel* Directory::kernel() { |
1534 return kernel_; | 1529 return kernel_; |
1535 } | 1530 } |
1536 | 1531 |
1537 const Directory::Kernel* Directory::kernel() const { | 1532 const Directory::Kernel* Directory::kernel() const { |
1538 return kernel_; | 1533 return kernel_; |
1539 } | 1534 } |
1540 | 1535 |
1541 } // namespace syncable | 1536 } // namespace syncable |
1542 } // namespace syncer | 1537 } // namespace syncer |
OLD | NEW |