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

Unified Diff: sync/internal_api/base_transaction.cc

Issue 11341048: Populate versions on individual nodes in sync model and native bookmark model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore heap unallocatability of write transaction Created 8 years, 2 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/base_transaction.cc
diff --git a/sync/internal_api/base_transaction.cc b/sync/internal_api/base_transaction.cc
index 11a8ca4321a0257211a68de25198f1ea7baac568..12198c3deaa206d8c9d62f24a64aef6a6de451a0 100644
--- a/sync/internal_api/base_transaction.cc
+++ b/sync/internal_api/base_transaction.cc
@@ -28,4 +28,8 @@ ModelTypeSet BaseTransaction::GetEncryptedTypes() const {
this->GetWrappedTrans());
}
+int64 BaseTransaction::GetModelVersion(ModelType type) {
+ return directory_->GetTransactionVersion(type);
+}
+
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698