DescriptionSync typed urls with typed_cont() == 0
When the user types "google.com" into the address bar, the server will
redirect him to "www.google.com" (or a regional equivalent). The redirected
URL will have PAGE_TRANSITION_TYPED but typed_count() == 0. We still want
to Sync such URL, otherwise the receiving client will only see "google.com"
with PAGE_TRANSITION_CHAIN_START and without the matching _CHAIN_END.
Additionally, the history view won't show that "google.com" URL because
VisitDatabase::GetVisibleVisitsInRange filters out results that don't
match PAGE_TRANSITION_CHAIN_END.
BUG=
Committed: https://crrev.com/7f5588cf33aa5e6a793382387058935a579421b8
Cr-Commit-Position: refs/heads/master@{#325990}
Patch Set 1 #Patch Set 2 : Add unit test #
Total comments: 1
Messages
Total messages: 19 (6 generated)
|