| 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 cd86131f568f65bdb6b3a98c1633060088bb9dc4..dbb67f7e9ca6bbc803e4f06ffef08bc9815d2e4c 100644
|
| --- a/chrome/browser/sync/glue/bookmark_change_processor.h
|
| +++ b/chrome/browser/sync/glue/bookmark_change_processor.h
|
| @@ -133,6 +133,13 @@ class BookmarkChangeProcessor : public BookmarkModelObserver,
|
| BookmarkModelAssociator* associator,
|
| DataTypeErrorHandler* error_handler);
|
|
|
| + // Update |bookmark_node|'s sync node.
|
| + static int64 UpdateSyncNode(const BookmarkNode* bookmark_node,
|
| + BookmarkModel* model,
|
| + syncer::WriteTransaction* trans,
|
| + BookmarkModelAssociator* associator,
|
| + DataTypeErrorHandler* error_handler);
|
| +
|
| // Update transaction version of |model| and |nodes| to |new_version| if
|
| // it's valid.
|
| static void UpdateTransactionVersion(
|
| @@ -196,6 +203,9 @@ class BookmarkChangeProcessor : public BookmarkModelObserver,
|
| // Remove all the sync nodes associated with |node| and its children.
|
| void RemoveSyncNodeHierarchy(const BookmarkNode* node);
|
|
|
| + // Creates or updates a sync node associated with |node|.
|
| + void CreateOrUpdateSyncNode(const BookmarkNode* node);
|
| +
|
| // The bookmark model we are processing changes from. Non-NULL when
|
| // |running_| is true.
|
| BookmarkModel* bookmark_model_;
|
|
|