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

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: lock dir Created 8 years, 1 month 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 ffa3aedc3845efdf32d49097c527ded31f0f4d42..b729f4aa525106baf109d95d7be47b012de4aa8c 100644
--- a/chrome/browser/sync/glue/bookmark_change_processor.h
+++ b/chrome/browser/sync/glue/bookmark_change_processor.h
@@ -166,6 +166,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.
Nicolas Zea 2012/11/02 21:02:25 |node| -> |nodes| "to if sync model..." -> "to |n
haitaol1 2012/11/02 22:58:18 Done.
+ void UpdateTransactionVersion(int64 old_version,
Nicolas Zea 2012/11/02 21:02:25 old_version -> new_version?
haitaol1 2012/11/02 22:58:18 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