Descriptionpredictors: Refactor UpdateData() function.
This CL splits UpdateData() function into UpdateResourceData() and
UpdateRedirectData() with less number of arguments.
ResourcePrefetchPredictor uses UpdateData() to update only one of the tables
at the same time so there is no need to pass extra arguments each time.
BUG=631966
Review-Url: https://codereview.chromium.org/2804283002
Cr-Commit-Position: refs/heads/master@{#464323}
Committed: https://chromium.googlesource.com/chromium/src/+/6090964fb7c737742493816401a93ef120535875
Patch Set 1 #Patch Set 2 : Rebase. #Patch Set 3 : Add a trace event for UpdateOrigin. #Patch Set 4 : Oops fix. #
Depends on Patchset: Messages
Total messages: 14 (10 generated)
|