DescriptionRun the Safe Browsing check in parallel with the resource load, on mobile. This decreases the mobile page-load time by about 12% so that it's basically on-par with non-safe-browsing mode. This does not change desktop.
Meta: I have tests partially written that require some build refactoring which I'd prefer to put in a separate CL. Then I will convert all the existing CHECKs to DCHECKs.
BUG=496754
Committed: https://crrev.com/9534829e7b24491f690032554327508d4f675de6
Cr-Commit-Position: refs/heads/master@{#341249}
Patch Set 1 #Patch Set 2 : Remove logging, fixup comments #
Total comments: 7
Patch Set 3 : Rebase #Patch Set 4 : Respond to reviews #
Total comments: 4
Patch Set 5 : Defer saving redirect URL, per review #Patch Set 6 : swap order of check and save url, per review #Patch Set 7 : rebase #
Messages
Total messages: 22 (7 generated)
|