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

Issue 2592243003: predictors: ResourcePrefetchPredictorBrowserTest improvements. (Closed)

Created:
4 years ago by alexilin
Modified:
3 years, 11 months ago
Reviewers:
pasko, Benoit L
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: ResourcePrefetchPredictorBrowserTest improvements. This CL contains 4 minor changes bundled together. - ResourceSummary flags refactoring. Now they have more clean and strict meanings + additional descriptions in comments. - New check at HTTP server side that there is no resource requests after prefetch making the tests more strict. - New test with "Cache-control: no-cache" resources. - Respectful handling of validation requests. BUG=650253 Committed: https://crrev.com/820fc0653f57cfa4d75396b2606116430cb67aeb Cr-Commit-Position: refs/heads/master@{#440740}

Patch Set 1 #

Patch Set 2 : Cover external resources also. #

Total comments: 19

Patch Set 3 : Rebase. #

Patch Set 4 : Fix merge WTF. #

Patch Set 5 : Fix merge WTF part 2. #

Patch Set 6 : Address pasko@ comments. #

Total comments: 5

Patch Set 7 : Fix iterator type and nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -23 lines) Patch
M chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc View 1 2 3 4 5 6 18 chunks +102 lines, -23 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
alexilin
4 years ago (2016-12-22 17:01:16 UTC) #3
alexilin
pasko, could you please look at this while lizeb is on vacation?
3 years, 12 months ago (2016-12-26 12:17:07 UTC) #6
pasko
overall looks good, nice extra checks that, I remember we wanted them I have a ...
3 years, 12 months ago (2016-12-26 14:12:17 UTC) #7
alexilin
https://codereview.chromium.org/2592243003/diff/20001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc File chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc (right): https://codereview.chromium.org/2592243003/diff/20001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc#newcode76 chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc:76: // True iff a test must fail on request ...
3 years, 12 months ago (2016-12-26 17:33:23 UTC) #8
pasko
please do a CQ dry run on the rebased version https://codereview.chromium.org/2592243003/diff/20001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc File chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc (right): https://codereview.chromium.org/2592243003/diff/20001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc#newcode178 ...
3 years, 12 months ago (2016-12-26 17:56:49 UTC) #9
alexilin
It seems like all bots will be happy eventually with the rebased version. https://codereview.chromium.org/2592243003/diff/20001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc File ...
3 years, 12 months ago (2016-12-26 18:27:08 UTC) #12
pasko
lgtm, thank you! https://codereview.chromium.org/2592243003/diff/100001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc File chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc (right): https://codereview.chromium.org/2592243003/diff/100001/chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc#newcode584 chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc:584: typedef std::map<GURL, ResourceSummary> ResourceMap; On 2016/12/26 ...
3 years, 12 months ago (2016-12-26 18:50:56 UTC) #15
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/2592243003/120001
3 years, 12 months ago (2016-12-27 08:15:29 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
3 years, 12 months ago (2016-12-27 08:21:25 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:45:47 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/820fc0653f57cfa4d75396b2606116430cb67aeb
Cr-Commit-Position: refs/heads/master@{#440740}

Powered by Google App Engine
This is Rietveld 408576698