Index: sync/internal_api/public/write_transaction.h |
diff --git a/sync/internal_api/public/write_transaction.h b/sync/internal_api/public/write_transaction.h |
index b0865ecc1de898c078c8fa6e5d4b79245867ab73..06d13545986c1dbdd799a01b94ccd7e5e42689fa 100644 |
--- a/sync/internal_api/public/write_transaction.h |
+++ b/sync/internal_api/public/write_transaction.h |
@@ -52,6 +52,10 @@ class SYNC_EXPORT WriteTransaction : public BaseTransaction { |
syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status, |
const std::string& context); |
+ // Attachment id was just updated. Propagate this change to all entries that |
+ // refer this attachment id and set is_on_server for corresponding records. |
+ void UpdateEntriesWithAttachmentId(const AttachmentId& attachment_id); |
+ |
protected: |
WriteTransaction() {} |