Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: sync/internal_api/public/test/test_user_share.h

Issue 11533008: Use delete journal to remove bookmarks that are already deleted in sync model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/public/delete_journal.h ('k') | sync/internal_api/test/test_user_share.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/test/test_user_share.h
diff --git a/sync/internal_api/public/test/test_user_share.h b/sync/internal_api/public/test/test_user_share.h
index 65889459b7fd46d849e82a05b8d5c0e020790ca4..2823fed780a192cd420ff24a494f9f9f13be8a42 100644
--- a/sync/internal_api/public/test/test_user_share.h
+++ b/sync/internal_api/public/test/test_user_share.h
@@ -58,6 +58,9 @@ class TestUserShare {
// on the user share's directory.
void TearDown();
+ // Save and reload Directory to clear out temporary data in memory.
+ bool Reload();
+
// Non-NULL iff called between a call to SetUp() and TearDown().
UserShare* user_share();
@@ -73,6 +76,8 @@ class TestUserShare {
static bool CreateRoot(syncer::ModelType model_type,
syncer::UserShare* service);
+ size_t GetDeleteJournalSize() const;
+
private:
scoped_ptr<TestDirectorySetterUpper> dir_maker_;
scoped_ptr<UserShare> user_share_;
« no previous file with comments | « sync/internal_api/public/delete_journal.h ('k') | sync/internal_api/test/test_user_share.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698