Index: sync/internal_api/public/test/test_entry_factory.h |
diff --git a/sync/internal_api/public/test/test_entry_factory.h b/sync/internal_api/public/test/test_entry_factory.h |
index d5bc91138603afe21d7b2714a390ea56d4e6e3b5..071a501974f2097f46efe7aef1dbad3a4825da56 100644 |
--- a/sync/internal_api/public/test/test_entry_factory.h |
+++ b/sync/internal_api/public/test/test_entry_factory.h |
@@ -56,6 +56,11 @@ class TestEntryFactory { |
int64 CreateSyncedItem(const std::string& name, |
ModelType model_type, bool is_folder); |
+ // Creates a root node that IS_UNAPPLIED. Smiilar to what one would find in |
+ // the database between the ProcessUpdates of an initial datatype configure |
+ // cycle and the ApplyUpdates step of the same sync cycle. |
+ int64 CreateUnappliedRootNode(ModelType model_type); |
+ |
// Looks up the item referenced by |meta_handle|. If successful, overwrites |
// the server specifics with |specifics|, sets |
// IS_UNAPPLIED_UPDATES/IS_UNSYNCED appropriately, and returns true. |