| Index: sync/syncable/directory.h
|
| diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h
|
| index ca8f4f133a72b3a2b95cfbde32688eda3e09d65e..0820c404ec8a848d8dccbb6775e00ebec0c0b6d4 100644
|
| --- a/sync/syncable/directory.h
|
| +++ b/sync/syncable/directory.h
|
| @@ -120,6 +120,8 @@ class SYNC_EXPORT Directory {
|
| // opaque to the client. This is the serialization of a message of type
|
| // ChipBag defined in sync.proto. It can contains NULL characters.
|
| std::string bag_of_chips;
|
| + // The per-datatype context.
|
| + sync_pb::DataTypeContext datatype_context[MODEL_TYPE_COUNT];
|
| };
|
|
|
| // What the Directory needs on initialization to create itself and its Kernel.
|
| @@ -196,6 +198,12 @@ class SYNC_EXPORT Directory {
|
| int64 GetTransactionVersion(ModelType type) const;
|
| void IncrementTransactionVersion(ModelType type);
|
|
|
| + // Getter/setters for the per datatype context.
|
| + void GetDataTypeContext(ModelType type,
|
| + sync_pb::DataTypeContext* context) const;
|
| + void SetDataTypeContext(ModelType type,
|
| + const sync_pb::DataTypeContext& context);
|
| +
|
| ModelTypeSet InitialSyncEndedTypes();
|
| bool InitialSyncEndedForType(ModelType type);
|
| bool InitialSyncEndedForType(BaseTransaction* trans, ModelType type);
|
|
|