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

Issue 2119613002: Adds a prerenderer watchdog timer. (Closed)

Created:
4 years, 5 months ago by Pete Williamson
Modified:
4 years, 5 months ago
Reviewers:
dougarnett, dewittj
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a prerenderer watchdog timer. The prerenderer can take too long on a page, when it does, we should cancel the pre-render in progress. This change adds a timer and a test. The actual timeout value will need tuning with real data on a 2G impairment network and a list of real EM web pages. BUG=610521 Committed: https://crrev.com/63cc9eb76507384c24c0217ca16595e706998955 Cr-Commit-Position: refs/heads/master@{#403543}

Patch Set 1 #

Total comments: 20

Patch Set 2 : CR feedback per DougArnett and DewittJ #

Total comments: 2

Patch Set 3 : Constant renaming per DewittJ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -9 lines) Patch
M components/offline_pages/background/request_coordinator.h View 1 4 chunks +10 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 7 chunks +19 lines, -1 line 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 2 6 chunks +73 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Pete Williamson
4 years, 5 months ago (2016-06-30 18:47:37 UTC) #2
dougarnett
lgtm with few comments https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode30 components/offline_pages/background/request_coordinator.cc:30: // maintenance window. TODO(petewil): Find ...
4 years, 5 months ago (2016-06-30 19:16:48 UTC) #3
dewittj
https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode30 components/offline_pages/background/request_coordinator.cc:30: // maintenance window. TODO(petewil): Find the optimal timeout based ...
4 years, 5 months ago (2016-06-30 20:38:33 UTC) #4
Pete Williamson
CR feedback per DougArnett and DewittJ https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode30 components/offline_pages/background/request_coordinator.cc:30: // maintenance window. ...
4 years, 5 months ago (2016-07-01 17:16:55 UTC) #5
dewittj
lgtm, sorry for confusion https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode88 components/offline_pages/background/request_coordinator.cc:88: void RequestCoordinator::StopProcessing() { On 2016/07/01 ...
4 years, 5 months ago (2016-07-01 17:27:48 UTC) #6
Pete Williamson
https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2119613002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode88 components/offline_pages/background/request_coordinator.cc:88: void RequestCoordinator::StopProcessing() { On 2016/07/01 17:27:48, dewittj wrote: > ...
4 years, 5 months ago (2016-07-01 17:56:44 UTC) #7
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/2119613002/40001
4 years, 5 months ago (2016-07-01 21:11:04 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-01 22:03:25 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 22:04:51 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/63cc9eb76507384c24c0217ca16595e706998955
Cr-Commit-Position: refs/heads/master@{#403543}

Powered by Google App Engine
This is Rietveld 408576698