Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Issue 2195503003: predictors: Add the request priority to the reource_prefetch_predictor DB. (Closed)

Created:
4 years, 4 months ago by Benoit L
Modified:
4 years, 4 months ago
Reviewers:
pasko, battre
CC:
chromium-reviews, shishir+watch_chromium.org, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: Add the request priority to the resource_prefetch_predictor DB. Request priority is derived from the priority given by Blink. This makes it an important criteria for prioritizing requests in prefetch. This CL stores the request priority in the local database. A forthcoming one will use it for prioritization. BUG=631966 Committed: https://crrev.com/6e3614acd196b31a68c1f1f1a90804379cae57d1 Cr-Commit-Position: refs/heads/master@{#409180}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Compile fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -610 lines) Patch
M chrome/browser/net/resource_prefetch_predictor_observer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.cc View 1 4 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_tables.h View 4 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_tables.cc View 1 10 chunks +71 lines, -44 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_tables_unittest.cc View 1 6 chunks +73 lines, -156 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_unittest.cc View 1 17 chunks +189 lines, -396 lines 0 comments Download
M tools/resource_prefetch_predictor/prefetch_predictor_tool.py View 1 4 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Benoit L
Sorry about the large diff, it's due to tests updates, and to "git cl format". ...
4 years, 4 months ago (2016-07-29 16:01:31 UTC) #2
pasko
lgtm but but .. isn't it possible to send a git cl format as a ...
4 years, 4 months ago (2016-07-29 17:13:11 UTC) #3
pasko
https://codereview.chromium.org/2195503003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_tables.cc File chrome/browser/predictors/resource_prefetch_predictor_tables.cc (right): https://codereview.chromium.org/2195503003/diff/1/chrome/browser/predictors/resource_prefetch_predictor_tables.cc#newcode126 chrome/browser/predictors/resource_prefetch_predictor_tables.cc:126: // TODO(lizeb): Take priority into account. is it obvious ...
4 years, 4 months ago (2016-07-29 17:13:32 UTC) #4
Benoit L
Hi battre@ Can you take a look at the one-line change in chrome/browser/net/resource_prefetch_predictor_observer.cc? Thanks!
4 years, 4 months ago (2016-08-01 11:26:35 UTC) #14
battre
chrome/browser/net/resource_prefetch_predictor_observer.cc LGTM
4 years, 4 months ago (2016-08-02 12:55:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2195503003/20001
4 years, 4 months ago (2016-08-02 12:56:41 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-02 13:38:39 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 13:39:44 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6e3614acd196b31a68c1f1f1a90804379cae57d1
Cr-Commit-Position: refs/heads/master@{#409180}

Powered by Google App Engine
This is Rietveld 408576698