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 "sync/syncable/directory.h" | 5 #include "sync/syncable/directory.h" |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "sync/internal_api/public/base/unique_position.h" | 11 #include "sync/internal_api/public/base/unique_position.h" |
12 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 12 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
13 #include "sync/syncable/entry.h" | 13 #include "sync/syncable/entry.h" |
14 #include "sync/syncable/entry_kernel.h" | 14 #include "sync/syncable/entry_kernel.h" |
15 #include "sync/syncable/in_memory_directory_backing_store.h" | 15 #include "sync/syncable/in_memory_directory_backing_store.h" |
16 #include "sync/syncable/on_disk_directory_backing_store.h" | 16 #include "sync/syncable/on_disk_directory_backing_store.h" |
17 #include "sync/syncable/scoped_kernel_lock.h" | 17 #include "sync/syncable/scoped_kernel_lock.h" |
18 #include "sync/syncable/scoped_parent_child_index_updater.h" | 18 #include "sync/syncable/scoped_parent_child_index_updater.h" |
19 #include "sync/syncable/syncable-inl.h" | 19 #include "sync/syncable/syncable-inl.h" |
20 #include "sync/syncable/syncable_base_transaction.h" | 20 #include "sync/syncable/syncable_base_transaction.h" |
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 | 1286 |
1287 for (OrderedChildSet::const_iterator i = children->begin(); | 1287 for (OrderedChildSet::const_iterator i = children->begin(); |
1288 i != children->end(); ++i) { | 1288 i != children->end(); ++i) { |
1289 DCHECK_EQ(parent_id, (*i)->ref(PARENT_ID)); | 1289 DCHECK_EQ(parent_id, (*i)->ref(PARENT_ID)); |
1290 result->push_back((*i)->ref(META_HANDLE)); | 1290 result->push_back((*i)->ref(META_HANDLE)); |
1291 } | 1291 } |
1292 } | 1292 } |
1293 | 1293 |
1294 } // namespace syncable | 1294 } // namespace syncable |
1295 } // namespace syncer | 1295 } // namespace syncer |
OLD | NEW |