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

Unified Diff: sync/api/model_type_service.h

Issue 1458013003: [Sync] USS: Add EntityChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uss-data
Patch Set: s/client_tag/client_key/ etc Created 5 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 | « sync/api/entity_change.cc ('k') | sync/sync.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/model_type_service.h
diff --git a/sync/api/model_type_service.h b/sync/api/model_type_service.h
index 473c9c172f741679d39224c8fc34697d39516139..c09271b253c988e7504dc1f321f9636aafde6ec2 100644
--- a/sync/api/model_type_service.h
+++ b/sync/api/model_type_service.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
+#include "sync/api/entity_change.h"
#include "sync/api/entity_data.h"
#include "sync/api/model_type_change_processor.h"
#include "sync/base/sync_export.h"
@@ -49,10 +50,9 @@ class SYNC_EXPORT ModelTypeService {
EntityDataList entity_data_list) = 0;
// Apply changes from the sync server locally.
- // TODO(skym): The change type should be in here somehow.
virtual syncer::SyncError ApplySyncChanges(
MetadataChanges* metadata_changes,
- EntityDataList entity_data_list) = 0;
+ EntityChangeList entity_changes) = 0;
// Asynchronously retrieve the sync metadata.
virtual void LoadMetadata(MetadataCallback callback) = 0;
« no previous file with comments | « sync/api/entity_change.cc ('k') | sync/sync.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698