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

Issue 2923813002: predictors: Don't call IsUrlPrefetchable twice. (Closed)

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

Description

predictors: Don't call IsUrlPrefetchable twice. Test cleanup as well. BUG=715525 Review-Url: https://codereview.chromium.org/2923813002 Cr-Commit-Position: refs/heads/master@{#477616} Committed: https://chromium.googlesource.com/chromium/src/+/05379193f1c2ee69e6b914bcf31625e434fb99ea

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -32 lines) Patch
M chrome/browser/predictors/loading_predictor.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/predictors/loading_predictor_unittest.cc View 1 3 chunks +16 lines, -5 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.cc View 1 2 3 3 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_test_util.h View 1 2 2 chunks +3 lines, -12 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
Benoit L
3 years, 6 months ago (2017-06-06 16:28:55 UTC) #3
alexilin
lgtm, I like this change! One more step towards moving triggering logic to LoadingPredictor class. ...
3 years, 6 months ago (2017-06-06 16:43:33 UTC) #5
Benoit L
Thanks! https://codereview.chromium.org/2923813002/diff/40001/chrome/browser/predictors/resource_prefetch_predictor.cc File chrome/browser/predictors/resource_prefetch_predictor.cc (left): https://codereview.chromium.org/2923813002/diff/40001/chrome/browser/predictors/resource_prefetch_predictor.cc#oldcode587 chrome/browser/predictors/resource_prefetch_predictor.cc:587: DCHECK_CURRENTLY_ON(BrowserThread::UI); On 2017/06/06 16:43:32, alexilin wrote: > nit: ...
3 years, 6 months ago (2017-06-07 08:50:27 UTC) #8
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/2923813002/60001
3 years, 6 months ago (2017-06-07 08:50:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/111964) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-07 08:54:36 UTC) #13
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/2923813002/60001
3 years, 6 months ago (2017-06-07 12:02:37 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 12:07:26 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/05379193f1c2ee69e6b914bcf316...

Powered by Google App Engine
This is Rietveld 408576698