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

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: sync to head 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/bookmark_change_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7adc252250686bdd3914d1204fe151735dea3983 100644
--- a/chrome/browser/sync/glue/bookmark_change_processor.h
+++ b/chrome/browser/sync/glue/bookmark_change_processor.h
@@ -114,6 +114,13 @@ class BookmarkChangeProcessor : public BookmarkModelObserver,
BookmarkModelAssociator* associator,
DataTypeErrorHandler* error_handler);
+ // Update transaction version of |model| and |nodes| to |new_version| if
+ // it's valid.
+ static void UpdateTransactionVersion(
+ int64 new_version,
+ BookmarkModel* model,
+ const std::vector<const BookmarkNode*>& nodes);
+
protected:
virtual void StartImpl(Profile* profile) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/sync/glue/bookmark_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698