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

Unified Diff: sync/test/engine/test_directory_setter_upper.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/syncable/mutable_entry.cc ('k') | sync/test/engine/test_directory_setter_upper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/test_directory_setter_upper.h
diff --git a/sync/test/engine/test_directory_setter_upper.h b/sync/test/engine/test_directory_setter_upper.h
index 24372b87f4e66aa49af5df96199ea4c6062e242d..587236a125977f62a0828be68f2b22b0290b6ec0 100644
--- a/sync/test/engine/test_directory_setter_upper.h
+++ b/sync/test/engine/test_directory_setter_upper.h
@@ -42,8 +42,9 @@
namespace syncer {
namespace syncable {
- class Directory;
- class TestTransactionObserver;
+class Directory;
+class DirectoryBackingStore;
+class TestTransactionObserver;
}
class TestDirectorySetterUpper {
@@ -54,6 +55,11 @@ class TestDirectorySetterUpper {
// Create a Directory instance open it.
virtual void SetUp();
+ // Create a Directory instance using |directory_store| as backend storage.
+ // Takes ownership of |directory_store|.
+ virtual void SetUpWith(
+ syncer::syncable::DirectoryBackingStore* directory_store);
+
// Undo everything done by SetUp(): close the directory and delete the
// backing files. Before closing the directory, this will run the directory
// invariant checks and perform the SaveChanges action on the directory.
« no previous file with comments | « sync/syncable/mutable_entry.cc ('k') | sync/test/engine/test_directory_setter_upper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698