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

Unified Diff: sync/internal_api/public/write_transaction.h

Issue 272043002: Invoke AttachmentUploader and update AttachmentIds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
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..beeb6a5d2424c4f3d86ca6cb94ccac0219e88fcf 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.
+ void UpdateEntriesWithAttachmentId(const AttachmentId& attachment_id);
maniscalco 2014/05/09 18:12:11 How about a unit test for this method? directory_
pavely 2014/05/13 23:06:44 directory_unittest tests the other WriteTransactio
maniscalco 2014/05/15 20:09:28 You are right, directory_unittest is for the other
+
protected:
WriteTransaction() {}

Powered by Google App Engine
This is Rietveld 408576698