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

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

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/public/base_transaction.h
diff --git a/sync/internal_api/public/base_transaction.h b/sync/internal_api/public/base_transaction.h
index 242a6b93545780d0cd96d4ced7d9ef64e5d2af67..10debfe9c7dfb6581d4c5c76ff7453ea0e6dbaad 100644
--- a/sync/internal_api/public/base_transaction.h
+++ b/sync/internal_api/public/base_transaction.h
@@ -35,6 +35,10 @@ class BaseTransaction {
return directory_;
}
+ // Return |transaction_version| of |type| stored in sync directory's
+ // persisted info.
+ int64 GetModelVersion(ModelType type);
+
protected:
explicit BaseTransaction(UserShare* share);
virtual ~BaseTransaction();

Powered by Google App Engine
This is Rietveld 408576698