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

Issue 1950733002: Add unit test for request coordiator (Closed)

Created:
4 years, 7 months ago by Pete Williamson
Modified:
4 years, 7 months ago
Reviewers:
dougarnett, fgorski
CC:
chromium-reviews, fgorski+watch_chromium.org, romax+watch_chromium.org, dewittj+watch_chromium.org, petewil+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 unit test for request coordiator This is an initial set of stub tests for the stub cpp files. It will allow us to develop tests as we write the code. BUG=607629 Committed: https://crrev.com/be070e78fb1400dcda73bd03691bfc9182a04e36 Cr-Commit-Position: refs/heads/master@{#391614}

Patch Set 1 #

Total comments: 24

Patch Set 2 : CR fixes (comments) #

Patch Set 3 : CR feedback per FGorski #

Total comments: 10

Patch Set 4 : More CR feedback per FGorski #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -6 lines) Patch
M components/components_tests.gyp View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M components/offline_pages/background/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/background/request_coordinator.h View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A components/offline_pages/background/request_coordinator_unittest.cc View 1 2 3 1 chunk +50 lines, -0 lines 1 comment Download

Messages

Total messages: 17 (5 generated)
Pete Williamson
4 years, 7 months ago (2016-05-03 22:28:49 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/1950733002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950733002/1
4 years, 7 months ago (2016-05-03 22:30:10 UTC) #4
dougarnett
lgtm https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h File components/offline_pages/background/request_coordinator.h (right): https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h#newcode24 components/offline_pages/background/request_coordinator.h:24: // Queues |request| to later load and save ...
4 years, 7 months ago (2016-05-03 22:42:06 UTC) #5
Pete Williamson
CR fixes per DougArnett https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h File components/offline_pages/background/request_coordinator.h (right): https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h#newcode24 components/offline_pages/background/request_coordinator.h:24: // Queues |request| to later ...
4 years, 7 months ago (2016-05-03 22:51:47 UTC) #6
fgorski
https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h File components/offline_pages/background/request_coordinator.h (right): https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h#newcode9 components/offline_pages/background/request_coordinator.h:9: #include "components/offline_pages/background/save_page_request.h" forward declare instead and add the .h ...
4 years, 7 months ago (2016-05-03 22:55:50 UTC) #7
Pete Williamson
https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h File components/offline_pages/background/request_coordinator.h (right): https://codereview.chromium.org/1950733002/diff/1/components/offline_pages/background/request_coordinator.h#newcode9 components/offline_pages/background/request_coordinator.h:9: #include "components/offline_pages/background/save_page_request.h" On 2016/05/03 22:55:49, fgorski wrote: > forward ...
4 years, 7 months ago (2016-05-04 17:29:27 UTC) #8
fgorski
lgtm with nits and one suggestion: you don't need to support weak ptr here. https://codereview.chromium.org/1950733002/diff/40001/components/offline_pages/background/request_coordinator.cc ...
4 years, 7 months ago (2016-05-04 17:39:44 UTC) #9
Pete Williamson
More CR feedback per FGorski. https://codereview.chromium.org/1950733002/diff/40001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/1950733002/diff/40001/components/offline_pages/background/request_coordinator.cc#newcode9 components/offline_pages/background/request_coordinator.cc:9: // TODO(fgorski): include file ...
4 years, 7 months ago (2016-05-04 18:17:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950733002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950733002/60001
4 years, 7 months ago (2016-05-04 18:18:47 UTC) #13
fgorski
one more not needed thing, but you can remove in another CL. https://codereview.chromium.org/1950733002/diff/60001/components/offline_pages/background/request_coordinator_unittest.cc File components/offline_pages/background/request_coordinator_unittest.cc ...
4 years, 7 months ago (2016-05-04 18:20:17 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-04 20:07:16 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 20:08:29 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/be070e78fb1400dcda73bd03691bfc9182a04e36
Cr-Commit-Position: refs/heads/master@{#391614}

Powered by Google App Engine
This is Rietveld 408576698