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

Issue 2775223006: [Offline Pages] Improve RequestCoordinator state tracking. (Closed)

Created:
3 years, 9 months ago by romax
Modified:
3 years, 8 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/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Improve RequestCoordinator state tracking. Replace the several boolean values used for state tracking with single state variable. BUG=644519 Review-Url: https://codereview.chromium.org/2775223006 Cr-Commit-Position: refs/heads/master@{#460820} Committed: https://chromium.googlesource.com/chromium/src/+/7be44a4d4b5fbbd8787a57a4ffb705dae78bf7e1

Patch Set 1 #

Total comments: 10

Patch Set 2 : comments. #

Total comments: 6

Patch Set 3 : comments. #

Patch Set 4 : minor comment fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -81 lines) Patch
M components/offline_pages/core/background/request_coordinator.h View 1 2 3 3 chunks +10 lines, -12 lines 0 comments Download
M components/offline_pages/core/background/request_coordinator.cc View 1 2 13 chunks +16 lines, -30 lines 0 comments Download
M components/offline_pages/core/background/request_coordinator_unittest.cc View 1 30 chunks +39 lines, -39 lines 0 comments Download

Messages

Total messages: 28 (18 generated)
romax
Closed the gap mentioned in the doc linked in the bug by moving the state ...
3 years, 9 months ago (2017-03-28 00:05:11 UTC) #2
Pete Williamson
Looks good, thanks for taking care of this! A few comments https://codereview.chromium.org/2775223006/diff/1/components/offline_pages/core/background/request_coordinator.cc File components/offline_pages/core/background/request_coordinator.cc (right): ...
3 years, 9 months ago (2017-03-28 00:35:13 UTC) #3
romax
addressed comments, happy to talk offline about the state during StopPrerendering() / StopProcessing(). PTAL! https://codereview.chromium.org/2775223006/diff/1/components/offline_pages/core/background/request_coordinator.cc ...
3 years, 9 months ago (2017-03-28 01:09:57 UTC) #4
Pete Williamson
https://codereview.chromium.org/2775223006/diff/1/components/offline_pages/core/background/request_coordinator.cc File components/offline_pages/core/background/request_coordinator.cc (right): https://codereview.chromium.org/2775223006/diff/1/components/offline_pages/core/background/request_coordinator.cc#newcode289 components/offline_pages/core/background/request_coordinator.cc:289: if (offliner_ && state_ == RequestCoordinatorState::OFFLINING) { On 2017/03/28 ...
3 years, 8 months ago (2017-03-28 17:12:43 UTC) #9
romax
updated per offline discussion. ptal https://codereview.chromium.org/2775223006/diff/1/components/offline_pages/core/background/request_coordinator.cc File components/offline_pages/core/background/request_coordinator.cc (right): https://codereview.chromium.org/2775223006/diff/1/components/offline_pages/core/background/request_coordinator.cc#newcode289 components/offline_pages/core/background/request_coordinator.cc:289: if (offliner_ && state_ ...
3 years, 8 months ago (2017-03-29 03:02:10 UTC) #14
Pete Williamson
lgtm. Make sure you test thoroughly on the device.
3 years, 8 months ago (2017-03-29 17:11:53 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/2775223006/60001
3 years, 8 months ago (2017-03-29 23:28:40 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-30 02:12:53 UTC) #23
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/2775223006/60001
3 years, 8 months ago (2017-03-30 17:45:54 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 17:59:11 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/7be44a4d4b5fbbd8787a57a4ffb7...

Powered by Google App Engine
This is Rietveld 408576698