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

Issue 2420503002: [Offline Pages] Define separate watchdog timeout for concurrent bg loads (Closed)

Created:
4 years, 2 months ago by dougarnett
Modified:
4 years, 2 months ago
Reviewers:
Pete Williamson
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Define separate watchdog timeout for concurrent bg loads BUG=655341 Committed: https://crrev.com/8bc69612087b58e7a679996a2f3e2f60f4f52519 Cr-Commit-Position: refs/heads/master@{#425426}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Trying enum state instead of bool parm #

Patch Set 3 : Merge #

Total comments: 6

Patch Set 4 : Added unit test case and dropped test method for setting timeout value #

Patch Set 5 : Cleaned up 16 lint errors from "git cl lint" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -56 lines) Patch
M components/offline_pages/background/offliner_policy.h View 1 2 3 4 3 chunks +14 lines, -5 lines 0 comments Download
M components/offline_pages/background/request_coordinator.h View 1 2 3 4 8 chunks +16 lines, -12 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 4 13 chunks +34 lines, -17 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 1 2 3 4 11 chunks +61 lines, -22 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
dougarnett
Pete, interested in an initial pass on the approach here (still need to add tests).
4 years, 2 months ago (2016-10-12 22:24:17 UTC) #4
Pete Williamson
https://codereview.chromium.org/2420503002/diff/1/chrome/browser/android/offline_pages/background_scheduler_bridge.cc File chrome/browser/android/offline_pages/background_scheduler_bridge.cc (right): https://codereview.chromium.org/2420503002/diff/1/chrome/browser/android/offline_pages/background_scheduler_bridge.cc#newcode55 chrome/browser/android/offline_pages/background_scheduler_bridge.cc:55: true /* is_background_scheduled */, device_conditions, Let's not use a ...
4 years, 2 months ago (2016-10-12 22:33:24 UTC) #5
dougarnett
Backed out the bool arg and trying internal enum processing state that replaces is_stopped and ...
4 years, 2 months ago (2016-10-13 19:46:45 UTC) #12
Pete Williamson
lgtm with nit. https://codereview.chromium.org/2420503002/diff/40001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2420503002/diff/40001/components/offline_pages/background/request_coordinator.cc#newcode562 components/offline_pages/background/request_coordinator.cc:562: // policy_->GetSinglePageTimeLimitInSeconds(is_background_scheduled)); Remove commented out code ...
4 years, 2 months ago (2016-10-13 22:58:18 UTC) #13
dougarnett
Added a unit test and did some clean up (got rid of test method for ...
4 years, 2 months ago (2016-10-14 16:27:01 UTC) #16
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/2420503002/80001
4 years, 2 months ago (2016-10-14 19:18:11 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-14 19:25:52 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 19:27:23 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8bc69612087b58e7a679996a2f3e2f60f4f52519
Cr-Commit-Position: refs/heads/master@{#425426}

Powered by Google App Engine
This is Rietveld 408576698