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

Issue 2091473004: Add the ability to cancel prerender reqeusts and tests (Closed)

Created:
4 years, 6 months ago by Pete Williamson
Modified:
4 years, 6 months ago
Reviewers:
dougarnett, chili
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

Add the ability to cancel prerender reqeusts and tests This hooks up the existing Cancel() method to now call through to the pre-renderer and cancel outstanding prerender attempts. A unit test is added also. BUG=610521 Committed: https://crrev.com/7fbbac693b162bcb6090a0b0613a3a807c48af70 Cr-Commit-Position: refs/heads/master@{#401695}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Merge with pre-render single instance changes. #

Patch Set 3 : Merge with pre-render single instance changes. #

Total comments: 14

Patch Set 4 : CR fixes per DougArnett #

Total comments: 6

Patch Set 5 : Comment changes per DougArnett #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -20 lines) Patch
M components/offline_pages/background/request_coordinator.h View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 4 6 chunks +24 lines, -8 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 2 3 11 chunks +98 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Pete Williamson
https://codereview.chromium.org/2091473004/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2091473004/diff/1/components/offline_pages/background/request_coordinator.cc#newcode93 components/offline_pages/background/request_coordinator.cc:93: cancelled_ = false; FYI - there may be some ...
4 years, 6 months ago (2016-06-22 22:53:22 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2091473004/1
4 years, 6 months ago (2016-06-22 22:54:32 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 23:48:10 UTC) #6
chili
lgtm https://codereview.chromium.org/2091473004/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2091473004/diff/1/components/offline_pages/background/request_coordinator.cc#newcode93 components/offline_pages/background/request_coordinator.cc:93: cancelled_ = false; nit - we seem to ...
4 years, 6 months ago (2016-06-23 05:42:06 UTC) #7
Pete Williamson
Took a merge with the change to run only a single instance of the pre-renderer ...
4 years, 6 months ago (2016-06-23 16:46:13 UTC) #8
dougarnett
looking good - some comment and naming suggestions and the test stub idea I mentioned ...
4 years, 6 months ago (2016-06-23 17:19:17 UTC) #9
dougarnett
looking good - some comment and naming suggestions and the test stub idea I mentioned ...
4 years, 6 months ago (2016-06-23 17:19:20 UTC) #10
Pete Williamson
https://codereview.chromium.org/2091473004/diff/40001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2091473004/diff/40001/components/offline_pages/background/request_coordinator.cc#newcode105 components/offline_pages/background/request_coordinator.cc:105: GetOffliner(); On 2016/06/23 17:19:17, dougarnett wrote: > I wonder ...
4 years, 6 months ago (2016-06-23 17:54:54 UTC) #11
dougarnett
lgtm with comments https://codereview.chromium.org/2091473004/diff/60001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2091473004/diff/60001/components/offline_pages/background/request_coordinator.cc#newcode132 components/offline_pages/background/request_coordinator.cc:132: // Check that the pre-render didn't ...
4 years, 6 months ago (2016-06-23 18:14:33 UTC) #12
Pete Williamson
https://codereview.chromium.org/2091473004/diff/60001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2091473004/diff/60001/components/offline_pages/background/request_coordinator.cc#newcode132 components/offline_pages/background/request_coordinator.cc:132: // Check that the pre-render didn't get cancelled while ...
4 years, 6 months ago (2016-06-23 18:24:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2091473004/80001
4 years, 6 months ago (2016-06-23 18:25:20 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-23 19:58:59 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 20:01:58 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7fbbac693b162bcb6090a0b0613a3a807c48af70
Cr-Commit-Position: refs/heads/master@{#401695}

Powered by Google App Engine
This is Rietveld 408576698