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

Unified Diff: sync/api/metadata_change_list.h

Issue 1678343002: [Sync] Moving DataTypeState to proto for serialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for Pavel and merging with Max's changes. Created 4 years, 10 months 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 | « sync/api/metadata_batch.cc ('k') | sync/engine/model_type_worker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/metadata_change_list.h
diff --git a/sync/api/metadata_change_list.h b/sync/api/metadata_change_list.h
index a8c0d95e3aeb730e26f7e9f73e0fcba647697c06..53c8e2424f18a84b4489d0ab6e8c21faba869361 100644
--- a/sync/api/metadata_change_list.h
+++ b/sync/api/metadata_change_list.h
@@ -10,11 +10,11 @@
#include "sync/base/sync_export.h"
namespace sync_pb {
+class DataTypeState;
class EntityMetadata;
} // namespace sync_pb
namespace syncer_v2 {
-struct DataTypeState;
// Interface used by the processor and service to communicate about metadata.
// The purpose of the interface is to record changes to data type global and
@@ -30,7 +30,8 @@ class SYNC_EXPORT MetadataChangeList {
virtual ~MetadataChangeList() {}
// Requests DataTypeState to be updated in the storage.
- virtual void UpdateDataTypeState(const DataTypeState& data_type_state) = 0;
+ virtual void UpdateDataTypeState(
+ const sync_pb::DataTypeState& data_type_state) = 0;
// Requests DataTypeState to be cleared from the storage.
virtual void ClearDataTypeState() = 0;
« no previous file with comments | « sync/api/metadata_batch.cc ('k') | sync/engine/model_type_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698