| Index: sync/syncable/directory.h
|
| diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h
|
| index 0206dbb458b5acc8ed32d0cd8c4ecde1f1f78363..c5959b9a64075de052dca7e7b9f39ccde13cc0e5 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);
|
|
|
|
|