Index: sync/syncable/directory.h |
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h |
index d71fcf8a0e3c50037ff9e1d019a6e0d3e435776b..740269713baf5ace444f6e029f2886e11c4c2ec0 100644 |
--- a/sync/syncable/directory.h |
+++ b/sync/syncable/directory.h |
@@ -300,8 +300,16 @@ class SYNC_EXPORT Directory { |
ModelType type, |
const sync_pb::DataTypeContext& context); |
+ // Returns types for which the initial sync has ended. |
ModelTypeSet InitialSyncEndedTypes(); |
+ |
+ // Returns true if the initial sync for |type| has completed. |
bool InitialSyncEndedForType(ModelType type); |
+ bool InitialSyncEndedForType(BaseTransaction* trans, ModelType type); |
+ |
+ // Marks the |type| as having its intial sync complete. |
+ // This applies only to types with implicitly created root folders. |
+ void MarkInitialSyncEndedForType(BaseWriteTransaction* trans, ModelType type); |
// (Account) Store birthday is opaque to the client, so we keep it in the |
// format it is in the proto buffer in case we switch to a binary birthday |
@@ -620,9 +628,6 @@ class SYNC_EXPORT Directory { |
// detected. |
void OnCatastrophicError(); |
- // Returns true if the initial sync for |type| has completed. |
- bool InitialSyncEndedForType(BaseTransaction* trans, ModelType type); |
- |
// Stops sending events to the delegate and the transaction |
// observer. |
void Close(); |