Index: sync/api/sync_change_processor.h |
diff --git a/sync/api/sync_change_processor.h b/sync/api/sync_change_processor.h |
index 3cdf6a8c2b701e45aac2ea7cb674c963a54cfd00..efc35f7d75528b26c5ab7bd5cfc3547282be2770 100644 |
--- a/sync/api/sync_change_processor.h |
+++ b/sync/api/sync_change_processor.h |
@@ -63,6 +63,12 @@ class SYNC_EXPORT SyncChangeProcessor { |
virtual void GetSyncData(const ModelType& type, |
const std::string& sync_tag, |
const GetSyncDataCallback& callback) const {} |
+ |
+ // Updates the context for |type|. Default implementation does nothing. |
+ // A type's context is a per-client blob that can affect all SyncData |
+ // sent to/from the server, much like a cookie. |
+ virtual syncer::SyncError UpdateDataTypeContext(ModelType type, |
+ const std::string& context); |
}; |
} // namespace syncer |