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

Unified Diff: components/sync/api/metadata_change_list.h

Issue 2394573002: [Sync] Rename DataTypeState to ModelTypeState. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 | « components/sync/api/metadata_batch.cc ('k') | components/sync/core/activation_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/metadata_change_list.h
diff --git a/components/sync/api/metadata_change_list.h b/components/sync/api/metadata_change_list.h
index f359b60ce111aab0e1dde5f877a88fa3589c995a..c20b7b9e6957a1a4a6fd32edd0d2a0d1a5ef7fbf 100644
--- a/components/sync/api/metadata_change_list.h
+++ b/components/sync/api/metadata_change_list.h
@@ -8,8 +8,8 @@
#include <string>
namespace sync_pb {
-class DataTypeState;
class EntityMetadata;
+class ModelTypeState;
} // namespace sync_pb
namespace syncer {
@@ -27,12 +27,12 @@ class MetadataChangeList {
MetadataChangeList() {}
virtual ~MetadataChangeList() {}
- // Requests DataTypeState to be updated in the storage.
- virtual void UpdateDataTypeState(
- const sync_pb::DataTypeState& data_type_state) = 0;
+ // Requests ModelTypeState to be updated in the storage.
+ virtual void UpdateModelTypeState(
+ const sync_pb::ModelTypeState& model_type_state) = 0;
- // Requests DataTypeState to be cleared from the storage.
- virtual void ClearDataTypeState() = 0;
+ // Requests ModelTypeState to be cleared from the storage.
+ virtual void ClearModelTypeState() = 0;
// Requests metadata entry to be updated in the storage.
// Please note that the update might contain a deleted entry if
« no previous file with comments | « components/sync/api/metadata_batch.cc ('k') | components/sync/core/activation_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698