DescriptionChanged typed url sync to no longer modify typed/visit_count.
The sync code now relies on the underlying history code to keep typed/visit_count
up-to-date. This requires us to sync across the transition type for each visit.
Since we want to set the transition type appropriately for every visit, this CL
also changes AddPagesWithDetails() to no longer automatically create a visit with
the last_visit timestamp if the VisitSource is SYNCED. For convenience, it still
creates a visit for the other sources (browser history import).
BUG=84258
TEST=run sync integration/unit tests, run typed url test cases.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88610
Patch Set 1 #
Total comments: 20
Patch Set 2 : Updated per review comments. #Messages
Total messages: 7 (0 generated)
|