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

Issue 1947253002: [Offline pages] Implementation of RequestQueue: Add, Remove, Get (Closed)

Created:
4 years, 7 months ago by fgorski
Modified:
4 years, 7 months ago
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

[Offline pages] Implementation of RequestQueue: Add, Remove, Get Basic implementation of request queue: * Add request * Remove request * Get requests * injecting store in ctor * Tests for above with exception of cases, where store issues an error. BUG=607221 R=dougarnett@chromium.org,petewil@chromium.org Committed: https://crrev.com/124c9275001c8070dd774941e8d82afb3fdabe01 Cr-Commit-Position: refs/heads/master@{#391910}

Patch Set 1 #

Patch Set 2 : Updating the gyp file #

Total comments: 4

Patch Set 3 : Adding test with multiple items #

Total comments: 2

Patch Set 4 : Extracting consts, updating the formatting #

Patch Set 5 : Fixing compilation on windows (optional as a parameter) #

Patch Set 6 : removing optional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -3 lines) Patch
M components/components_tests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/background/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/background/request_queue.h View 3 chunks +11 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_queue.cc View 1 chunk +60 lines, -3 lines 0 comments Download
A components/offline_pages/background/request_queue_unittest.cc View 1 2 3 4 5 1 chunk +199 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
fgorski
PTAL. This is how far I was able to get today with request queue.
4 years, 7 months ago (2016-05-04 22:01:05 UTC) #1
Pete Williamson
https://codereview.chromium.org/1947253002/diff/20001/components/offline_pages/background/request_queue_unittest.cc File components/offline_pages/background/request_queue_unittest.cc (right): https://codereview.chromium.org/1947253002/diff/20001/components/offline_pages/background/request_queue_unittest.cc#newcode138 components/offline_pages/background/request_queue_unittest.cc:138: Can we add a test case with several results ...
4 years, 7 months ago (2016-05-04 23:10:51 UTC) #2
dougarnett
lgtm
4 years, 7 months ago (2016-05-05 16:12:00 UTC) #3
fgorski
Pete, ptal https://codereview.chromium.org/1947253002/diff/20001/components/offline_pages/background/request_queue_unittest.cc File components/offline_pages/background/request_queue_unittest.cc (right): https://codereview.chromium.org/1947253002/diff/20001/components/offline_pages/background/request_queue_unittest.cc#newcode138 components/offline_pages/background/request_queue_unittest.cc:138: On 2016/05/04 23:10:50, Pete Williamson wrote: > ...
4 years, 7 months ago (2016-05-05 16:51:52 UTC) #4
Pete Williamson
lgtm with nit. https://codereview.chromium.org/1947253002/diff/40001/components/offline_pages/background/request_queue_unittest.cc File components/offline_pages/background/request_queue_unittest.cc (right): https://codereview.chromium.org/1947253002/diff/40001/components/offline_pages/background/request_queue_unittest.cc#newcode170 components/offline_pages/background/request_queue_unittest.cc:170: 77, GURL("http://test.com"), ClientId("bookmark", "567"), creation_time); Can ...
4 years, 7 months ago (2016-05-05 16:58:01 UTC) #5
fgorski
addressed. Fixing compilation issue and this is ready to go. https://codereview.chromium.org/1947253002/diff/40001/components/offline_pages/background/request_queue_unittest.cc File components/offline_pages/background/request_queue_unittest.cc (right): https://codereview.chromium.org/1947253002/diff/40001/components/offline_pages/background/request_queue_unittest.cc#newcode170 ...
4 years, 7 months ago (2016-05-05 17:48:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947253002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947253002/100001
4 years, 7 months ago (2016-05-05 20:24:29 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-05 21:38:09 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 21:41:03 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/124c9275001c8070dd774941e8d82afb3fdabe01
Cr-Commit-Position: refs/heads/master@{#391910}

Powered by Google App Engine
This is Rietveld 408576698