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

Unified Diff: sync/internal_api/read_transaction.cc

Issue 582913002: Make GenericChangeProcessor upload attachments on startup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master. Created 6 years, 3 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
« no previous file with comments | « sync/internal_api/public/read_transaction.h ('k') | sync/syncable/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/read_transaction.cc
diff --git a/sync/internal_api/read_transaction.cc b/sync/internal_api/read_transaction.cc
index ebc56ecc400e1619f2a8233c938f87ab361f95ba..7d44fe40dd7dc6413cea4db6effa14cde978184d 100644
--- a/sync/internal_api/read_transaction.cc
+++ b/sync/internal_api/read_transaction.cc
@@ -47,4 +47,11 @@ void ReadTransaction::GetDataTypeContext(
transaction_, type, context);
}
+void ReadTransaction::GetAttachmentIdsToUpload(ModelType type,
+ AttachmentIdSet* id_set) {
+ DCHECK(id_set);
+ transaction_->directory()->GetAttachmentIdsToUpload(
+ transaction_, type, id_set);
+}
+
} // namespace syncer
« no previous file with comments | « sync/internal_api/public/read_transaction.h ('k') | sync/syncable/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698