diff options
Diffstat (limited to 'sync/syncable/directory.h')
-rw-r--r-- | sync/syncable/directory.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h index 0206dbb..c5959b9 100644 --- a/sync/syncable/directory.h +++ b/sync/syncable/directory.h @@ -14,6 +14,7 @@ #include "base/containers/hash_tables.h" #include "base/file_util.h" #include "base/gtest_prod_util.h" +#include "base/values.h" #include "sync/base/sync_export.h" #include "sync/internal_api/public/util/report_unrecoverable_error_function.h" #include "sync/internal_api/public/util/weak_handle.h" @@ -250,12 +251,6 @@ class SYNC_EXPORT Directory { bool GetChildHandlesById(BaseTransaction*, const Id& parent_id, Metahandles* result); - // Returns the child meta handles (even those for deleted/unlinked - // nodes) for given meta handle. Clears |result| if there are no - // children. - bool GetChildHandlesByHandle(BaseTransaction*, int64 handle, - Metahandles* result); - // Counts all items under the given node, including the node itself. int GetTotalNodeCount(BaseTransaction*, EntryKernel* kernel_) const; @@ -302,10 +297,6 @@ class SYNC_EXPORT Directory { // WARNING: THIS METHOD PERFORMS SYNCHRONOUS I/O VIA SQLITE. bool SaveChanges(); - // Fill in |result| with all entry kernels. - void GetAllEntryKernels(BaseTransaction* trans, - std::vector<const EntryKernel*>* result); - // Returns the number of entities with the unsynced bit set. int64 unsynced_entity_count() const; @@ -331,6 +322,8 @@ class SYNC_EXPORT Directory { void CollectMetaHandleCounts(std::vector<int>* num_entries_by_type, std::vector<int>* num_to_delete_entries_by_type); + scoped_ptr<base::ListValue> GetAllNodeDetails(BaseTransaction* trans); + // Sets the level of invariant checking performed after transactions. void SetInvariantCheckLevel(InvariantCheckLevel check_level); |