Index: sync/api/sync_change.h |
diff --git a/sync/api/sync_change.h b/sync/api/sync_change.h |
index 8751fa1ea1b68d58aba469230d320254b63c7c05..6c9e95dd16275a91a34b6da5e0c95bac9a515d27 100644 |
--- a/sync/api/sync_change.h |
+++ b/sync/api/sync_change.h |
@@ -15,8 +15,9 @@ |
namespace syncer { |
-// A SyncChange object reflects a change to a piece of synced data. The change |
-// can be either a delete, add, or an update. All data relevant to the change |
+// A SyncChange object reflects a change to a piece of synced data. If the |
+// change is to a a sync entity, the change can be either a delete, add, or an |
maniscalco
2014/03/31 23:59:16
nit: s/to a a/to a/
maniscalco
2014/03/31 23:59:16
nit: s/either //
Nicolas Zea
2014/04/02 18:34:36
Done.
Nicolas Zea
2014/04/02 18:34:36
Done.
|
+// update. Context changes are always updates. All data relevant to the change |
// is encapsulated within the SyncChange, which, once created, is immutable. |
// Note: it is safe and cheap to pass these by value or make copies, as they do |
// not create deep copies of their internal data. |
@@ -27,6 +28,7 @@ class SYNC_EXPORT SyncChange { |
ACTION_ADD, |
ACTION_UPDATE, |
ACTION_DELETE, |
+ CONTEXT_UPDATE, |
maniscalco
2014/03/31 23:59:16
It would be helpful to have a comment somewhere (h
maniscalco
2014/03/31 23:59:16
I would have expected this to be called ACTION_CON
Nicolas Zea
2014/04/02 18:34:36
I was kind of thinking to leave the ACTION_ prefix
Nicolas Zea
2014/04/02 18:34:36
Done.
maniscalco
2014/04/02 21:13:09
I'm OK with that distinction. My thinking here wa
|
}; |
// Default constructor creates an invalid change. |