Chromium Code Reviews
DescriptionDon't clear the net predictors prefs on startup
Traditionally, the net predictor had its database cleared from preferences
during startup, deleting them while transfering to a completely in-memory
representation.
This is non-ideal for Android, where unclean shutdowns are more common due
to oom-killer.
This patch removes the behavior in favor of clearing the prefs when the user
clears browsing history. Note that in order to properly persist db updates
in the presence of unclean shutdowns, we will have to sync the prefs more
often. This will be implemented as a follow up.
BUG=621604
Committed: https://crrev.com/f2113bc361ed6ad09f2e97ef5068be4e8c32e114
Cr-Commit-Position: refs/heads/master@{#402813}
Patch Set 1 #Patch Set 2 : Add clear history test + fix old test #Patch Set 3 : update a benchmark extension? Who knew we even had that... #Patch Set 4 : dont clear prefs on startup #
Total comments: 11
Patch Set 5 #
Total comments: 7
Patch Set 6 : nits #
Total comments: 1
Patch Set 7 : bauerb@ review #
Total comments: 2
Patch Set 8 : add TODO #
Messages
Total messages: 23 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||