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

Unified Diff: chrome/browser/sync/glue/bookmark_change_processor.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: chrome/browser/sync/glue/bookmark_change_processor.h
diff --git a/chrome/browser/sync/glue/bookmark_change_processor.h b/chrome/browser/sync/glue/bookmark_change_processor.h
index 4f71668f07b30a2085a6ece8b1be65900341b390..1f37241c750407b787291824e9e48da3d41a4111 100644
--- a/chrome/browser/sync/glue/bookmark_change_processor.h
+++ b/chrome/browser/sync/glue/bookmark_change_processor.h
@@ -164,6 +164,12 @@ class BookmarkChangeProcessor : public BookmarkModelObserver,
// Remove all the sync nodes associated with |node| and its children.
void RemoveSyncNodeHierarchy(const BookmarkNode* node);
+ // Update transaction version of |model| and |node| to if sync model gets a
+ // new version.
+ void UpdateVersion(int64 old_version,
tim (not reviewing) 2012/11/01 18:31:36 nit - UpdateTransactionVersion to keep the naming
haitaol1 2012/11/02 17:57:11 Done.
+ BookmarkModel* model,
+ const std::vector<const BookmarkNode*>& nodes);
+
// The bookmark model we are processing changes from. Non-NULL when
// |running_| is true.
BookmarkModel* bookmark_model_;

Powered by Google App Engine
This is Rietveld 408576698