Index: components/sync/model_impl/model_type_store_impl.h |
diff --git a/components/sync/model_impl/model_type_store_impl.h b/components/sync/model_impl/model_type_store_impl.h |
index 025b9f114e884fa97f9967668f4751ddcc37be8d..67ca71b1144116aa8e1eb0a902f6db74415a8618 100644 |
--- a/components/sync/model_impl/model_type_store_impl.h |
+++ b/components/sync/model_impl/model_type_store_impl.h |
@@ -103,6 +103,17 @@ class ModelTypeStoreImpl : public ModelTypeStore, public base::NonThreadSafe { |
void WriteModificationsDone(const CallbackWithResult& callback, |
Result result); |
+ // Parse the serialized metadata into protos and pass them to |callback|. |
+ void DeserializeMetadata(const ReadMetadataCallback& callback, |
+ const std::string& global_metadata, |
+ std::unique_ptr<RecordList> metadata_records); |
+ |
+ // Helper function to create a SyncError with message |msg|. |
+ SyncError MakeSyncError(const std::string& msg); |
+ |
+ // The model type using this store. |
+ const ModelType type_; |
+ |
// Backend should be deleted on backend thread. |
// To accomplish this store's dtor posts task to backend thread passing |
// backend ownership to task parameter. |