summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_manager_impl_unittest.cc
diff options
context:
space:
mode:
authorhaitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 02:38:16 +0000
committerhaitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 02:38:16 +0000
commitceda9c55a005a7d9a958e3461700b015386e3ecb (patch)
treee986e785365fc34f9dc7d3181424b217937f6f69 /sync/internal_api/sync_manager_impl_unittest.cc
parentd7db1b9e8ec8cac5e0f3768fdf2a60fc08360f06 (diff)
downloadchromium_src-ceda9c55a005a7d9a958e3461700b015386e3ecb.zip
chromium_src-ceda9c55a005a7d9a958e3461700b015386e3ecb.tar.gz
chromium_src-ceda9c55a005a7d9a958e3461700b015386e3ecb.tar.bz2
Add WriteNode::Drop() to delete entry locally but not on server.
BUG=177080 Review URL: https://chromiumcodereview.appspot.com/12190008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_manager_impl_unittest.cc')
-rw-r--r--sync/internal_api/sync_manager_impl_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc
index a0bec40..f86b48b 100644
--- a/sync/internal_api/sync_manager_impl_unittest.cc
+++ b/sync/internal_api/sync_manager_impl_unittest.cc
@@ -370,7 +370,7 @@ TEST_F(SyncApiTest, TestDeleteBehavior) {
EXPECT_FALSE(wnode.GetIsFolder());
EXPECT_EQ(wnode.GetTitle(), test_title);
- wnode.Remove();
+ wnode.Tombstone();
}
// Lookup of a node which was deleted should return failure,