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

Issue 2463713003: [Offline Pages] Converts MarkAttemptCompleted to use TaskQueue (Closed)

Created:
4 years, 1 month ago by dougarnett
Modified:
4 years, 1 month ago
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] Converts MarkAttemptCompleted to a Task BUG=651238 Committed: https://crrev.com/594de46700a111e7f2f08594eb601854ece1790e Cr-Commit-Position: refs/heads/master@{#429021}

Patch Set 1 #

Patch Set 2 : Fixed some lint #

Total comments: 24

Patch Set 3 : Updates per fgorski feedback #

Patch Set 4 : A lint fix #

Patch Set 5 : Ternary nit and format fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -218 lines) Patch
M components/offline_pages/background/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A + components/offline_pages/background/mark_attempt_completed_task.h View 1 3 chunks +9 lines, -8 lines 0 comments Download
A + components/offline_pages/background/mark_attempt_completed_task.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
A + components/offline_pages/background/mark_attempt_completed_task_unittest.cc View 1 2 4 chunks +27 lines, -44 lines 0 comments Download
M components/offline_pages/background/mark_attempt_started_task.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 4 6 chunks +33 lines, -28 lines 0 comments Download
M components/offline_pages/background/request_queue.h View 1 2 2 chunks +4 lines, -10 lines 0 comments Download
M components/offline_pages/background/request_queue.cc View 1 2 4 chunks +10 lines, -73 lines 0 comments Download
M components/offline_pages/background/request_queue_unittest.cc View 1 2 4 chunks +31 lines, -46 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
dougarnett
4 years, 1 month ago (2016-10-31 20:25:55 UTC) #7
fgorski
mostly looks great. Some suggestions to consider. https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc File components/offline_pages/background/mark_attempt_completed_task_unittest.cc (left): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc#oldcode118 components/offline_pages/background/mark_attempt_completed_task_unittest.cc:118: TEST_F(MarkAttemptStartedTaskTest, MarkAttemptStartedWhenItemMissing) ...
4 years, 1 month ago (2016-10-31 20:33:50 UTC) #8
Pete Williamson
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task.cc File components/offline_pages/background/mark_attempt_completed_task.cc (right): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task.cc#newcode7 components/offline_pages/background/mark_attempt_completed_task.cc:7: #include <utility> I wonder if <utility> should be added ...
4 years, 1 month ago (2016-10-31 21:38:27 UTC) #9
dougarnett
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc File components/offline_pages/background/mark_attempt_completed_task_unittest.cc (left): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc#oldcode118 components/offline_pages/background/mark_attempt_completed_task_unittest.cc:118: TEST_F(MarkAttemptStartedTaskTest, MarkAttemptStartedWhenItemMissing) { On 2016/10/31 20:33:49, fgorski wrote: > ...
4 years, 1 month ago (2016-10-31 22:05:52 UTC) #12
dougarnett
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task.cc File components/offline_pages/background/mark_attempt_completed_task.cc (right): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task.cc#newcode7 components/offline_pages/background/mark_attempt_completed_task.cc:7: #include <utility> On 2016/10/31 21:38:26, Pete Williamson wrote: > ...
4 years, 1 month ago (2016-10-31 22:51:18 UTC) #15
Pete Williamson
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc File components/offline_pages/background/mark_attempt_completed_task_unittest.cc (right): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc#newcode113 components/offline_pages/background/mark_attempt_completed_task_unittest.cc:113: On 2016/10/31 22:51:17, dougarnett wrote: > On 2016/10/31 21:38:26, ...
4 years, 1 month ago (2016-10-31 23:01:27 UTC) #16
Pete Williamson
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc File components/offline_pages/background/mark_attempt_completed_task_unittest.cc (right): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/mark_attempt_completed_task_unittest.cc#newcode113 components/offline_pages/background/mark_attempt_completed_task_unittest.cc:113: On 2016/10/31 23:01:27, Pete Williamson wrote: > On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 23:02:05 UTC) #17
fgorski
lgtm
4 years, 1 month ago (2016-10-31 23:05:28 UTC) #18
Pete Williamson
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode379 components/offline_pages/background/request_coordinator.cc:379: result->store_state != StoreState::LOADED On 2016/10/31 22:51:18, dougarnett wrote: > ...
4 years, 1 month ago (2016-10-31 23:10:08 UTC) #19
dougarnett
https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/2463713003/diff/20001/components/offline_pages/background/request_coordinator.cc#newcode379 components/offline_pages/background/request_coordinator.cc:379: result->store_state != StoreState::LOADED On 2016/10/31 23:10:08, Pete Williamson wrote: ...
4 years, 1 month ago (2016-11-01 00:16:37 UTC) #22
Pete Williamson
lgtm
4 years, 1 month ago (2016-11-01 00:32:33 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/2463713003/80001
4 years, 1 month ago (2016-11-01 15:42:32 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-01 16:39:58 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 17:22:29 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/594de46700a111e7f2f08594eb601854ece1790e
Cr-Commit-Position: refs/heads/master@{#429021}

Powered by Google App Engine
This is Rietveld 408576698