diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 03:31:18 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 03:31:18 +0000 |
commit | b142b0b65e64b25833628759f5d534ff7920b6cb (patch) | |
tree | a420fe4f2f44e0c3bbead431d0ace683a1774407 /sync/syncable/directory.h | |
parent | 76aa18c2f51fc8c2e3f6d68d113d55a8a74a68b5 (diff) | |
download | chromium_src-b142b0b65e64b25833628759f5d534ff7920b6cb.zip chromium_src-b142b0b65e64b25833628759f5d534ff7920b6cb.tar.gz chromium_src-b142b0b65e64b25833628759f5d534ff7920b6cb.tar.bz2 |
sync: Remove GetPossibleLastChildForTest()
Remove GetPossibleLastChildForTest(). Its only use was in
GetLastChildForTest() to make an informed guess as to which entry was
the last one under a given parent. That function will return the same
results if we use GetPossibleFirstChild() to initialize our guess. In
theory this new approach will be slower, but in practice the change will
be imperceptible.
BUG=135483
TEST=
Review URL: https://chromiumcodereview.appspot.com/10703064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/syncable/directory.h')
-rw-r--r-- | sync/syncable/directory.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h index 66202c9..b35cdc2 100644 --- a/sync/syncable/directory.h +++ b/sync/syncable/directory.h @@ -595,12 +595,6 @@ class Directory { EntryKernel* GetPossibleFirstChild( const ScopedKernelLock& lock, const Id& parent_id); - // Return a pointer to what is probably (but not certainly) the last - // child of |parent_id|, or NULL if |parent_id| definitely has no - // children. - EntryKernel* GetPossibleLastChildForTest( - const ScopedKernelLock& lock, const Id& parent_id); - syncer::Cryptographer cryptographer_; Kernel* kernel_; |