Chromium Code Reviews
DescriptionMake some improvements to sync model associator:
- Fail the load assocications if there the total number of
nodes in the bookmark model and the sync model don't match
(issue: 25542)
- Add a bookmark id index and use that during load assocications
instead of calling BookmarkModel::GetNodeByID since the latter
traverses the entier tree in DFS order until it finds the node
with the given ID.
- Add a unit test that would exercise the new model associator
load associations behavior.
BUG=25542
TEST=Unit test added.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30441
Patch Set 1 #
Total comments: 4
Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 8
Patch Set 4 : '' #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||