DescriptionImplement ID persistence for bookmarks:
- Bookmark codec now takes in a ctor argument persist_ids
- If it's true, it will serialize IDs of bookmarks when encoding, and
deserialize already serialized IDs (if present) when decoding.
- During decoding, unique-ify the IDs if they are not unique.
- Add unit tests for all new code.
Coming up in a separate changelist:
- Move ID generation logic to bookmark model, and make it non-static.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=15013
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 22
Patch Set 4 : '' #
Total comments: 2
Patch Set 5 : '' #Messages
Total messages: 6 (0 generated)
|