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

Unified Diff: components/sync/model_impl/model_type_store_impl.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 | « components/sync/model/model_type_store.h ('k') | components/sync/model_impl/model_type_store_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « components/sync/model/model_type_store.h ('k') | components/sync/model_impl/model_type_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698