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

Issue 2178143002: Check time budget before starting new requests, and unittest. (Closed)

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

Check time budget before starting new requests, and unittest. BUG=610521 Committed: https://crrev.com/901652b78a269dab96fca010bdf1434587a72cfc Cr-Commit-Position: refs/heads/master@{#407936}

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR feedback per JianLi #

Total comments: 4

Patch Set 3 : Tweak time limit names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -17 lines) Patch
M components/offline_pages/background/offliner_policy.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M components/offline_pages/background/request_coordinator.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 5 chunks +19 lines, -10 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 2 chunks +49 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
Pete Williamson
4 years, 4 months ago (2016-07-25 21:36:14 UTC) #2
jianli
https://codereview.chromium.org/2178143002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2178143002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode47 components/offline_pages/background/request_coordinator.cc:47: operation_start_time_(base::Time::Now()), It seems to me that this initialization was ...
4 years, 4 months ago (2016-07-25 21:50:38 UTC) #3
Pete Williamson
https://codereview.chromium.org/2178143002/diff/1/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2178143002/diff/1/components/offline_pages/background/request_coordinator.cc#newcode47 components/offline_pages/background/request_coordinator.cc:47: operation_start_time_(base::Time::Now()), On 2016/07/25 21:50:38, jianli wrote: > It seems ...
4 years, 4 months ago (2016-07-25 22:01:33 UTC) #4
Pete Williamson
re-pub
4 years, 4 months ago (2016-07-25 23:59:43 UTC) #5
Pete Williamson
this time with the actual patch ^_^
4 years, 4 months ago (2016-07-26 00:00:37 UTC) #6
jianli
lgtm
4 years, 4 months ago (2016-07-26 00:01:11 UTC) #7
dougarnett
https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode139 components/offline_pages/background/request_coordinator.cc:139: // If there is no time left in the ...
4 years, 4 months ago (2016-07-26 16:11:34 UTC) #8
Pete Williamson
https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode139 components/offline_pages/background/request_coordinator.cc:139: // If there is no time left in the ...
4 years, 4 months ago (2016-07-26 18:42:19 UTC) #9
Dmitry Titov
On 2016/07/26 18:42:19, Pete Williamson wrote: > https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc > File components/offline_pages/background/request_coordinator.cc (right): > > https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode139 ...
4 years, 4 months ago (2016-07-26 19:55:39 UTC) #10
Pete Williamson
On 2016/07/26 19:55:39, Dmitry Titov wrote: > On 2016/07/26 18:42:19, Pete Williamson wrote: > > ...
4 years, 4 months ago (2016-07-26 20:01:00 UTC) #11
dougarnett
https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode139 components/offline_pages/background/request_coordinator.cc:139: // If there is no time left in the ...
4 years, 4 months ago (2016-07-26 20:26:44 UTC) #12
Pete Williamson
On 2016/07/26 20:01:00, Pete Williamson wrote: > On 2016/07/26 19:55:39, Dmitry Titov wrote: > > ...
4 years, 4 months ago (2016-07-26 20:37:12 UTC) #13
Pete Williamson
https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2178143002/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode139 components/offline_pages/background/request_coordinator.cc:139: // If there is no time left in the ...
4 years, 4 months ago (2016-07-26 20:59:40 UTC) #14
dougarnett
lgtm
4 years, 4 months ago (2016-07-26 21:09:54 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/2178143002/40001
4 years, 4 months ago (2016-07-26 21:31:10 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-26 22:28:16 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 22:30:48 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/901652b78a269dab96fca010bdf1434587a72cfc
Cr-Commit-Position: refs/heads/master@{#407936}

Powered by Google App Engine
This is Rietveld 408576698