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

Issue 1951483002: [Offline pages] Adding in memory request queue store with tests (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] Adding in memory request queue store with tests * Creates interface for RequestQueueStore * Creates a basic in memory implementation of the store * Creates tests for implementation * Adds a copy constructor to SavePageRequest (implicitly tested in request queue store implementation). BUG=607221 R=dougarnett@chromium.org,petewil@chromium.org Committed: https://crrev.com/c5f5e71c825261caab602fc6f59f9ea030fd4f8d Cr-Commit-Position: refs/heads/master@{#391440}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Updates based on CR feedback #

Patch Set 3 : Udpating name of variable to make code more readable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -0 lines) Patch
M components/components_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
M components/offline_pages/background/BUILD.gn View 1 2 chunks +5 lines, -0 lines 0 comments Download
A components/offline_pages/background/request_queue_in_memory_store.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A components/offline_pages/background/request_queue_in_memory_store.cc View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
A components/offline_pages/background/request_queue_in_memory_store_unittest.cc View 1 1 chunk +242 lines, -0 lines 0 comments Download
A components/offline_pages/background/request_queue_store.h View 1 1 chunk +60 lines, -0 lines 0 comments Download
M components/offline_pages/background/save_page_request.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/background/save_page_request.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
fgorski
PTAL
4 years, 7 months ago (2016-05-03 18:43:27 UTC) #1
Pete Williamson
https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc File components/offline_pages/background/request_queue_in_memory_store.cc (right): https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc#newcode18 components/offline_pages/background/request_queue_in_memory_store.cc:18: void RequestQueueInMemoryStore::GetRequests( In the future, it might be nice ...
4 years, 7 months ago (2016-05-03 20:38:53 UTC) #2
fgorski
Addressed and also fixed build dependency. https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc File components/offline_pages/background/request_queue_in_memory_store.cc (right): https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc#newcode18 components/offline_pages/background/request_queue_in_memory_store.cc:18: void RequestQueueInMemoryStore::GetRequests( On ...
4 years, 7 months ago (2016-05-03 21:50:21 UTC) #3
Pete Williamson
lgtm https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc File components/offline_pages/background/request_queue_in_memory_store.cc (right): https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc#newcode24 components/offline_pages/background/request_queue_in_memory_store.cc:24: FROM_HERE, base::Bind(callback, true, result)); On 2016/05/03 21:50:21, fgorski ...
4 years, 7 months ago (2016-05-03 22:00:25 UTC) #4
dougarnett
lgtm https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc File components/offline_pages/background/request_queue_in_memory_store.cc (right): https://codereview.chromium.org/1951483002/diff/1/components/offline_pages/background/request_queue_in_memory_store.cc#newcode24 components/offline_pages/background/request_queue_in_memory_store.cc:24: FROM_HERE, base::Bind(callback, true, result)); On 2016/05/03 21:50:21, fgorski ...
4 years, 7 months ago (2016-05-03 22:11:54 UTC) #5
fgorski
Addressed. I updated the code per suggestion for readability. This is a good catch and ...
4 years, 7 months ago (2016-05-03 23:01:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1951483002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1951483002/40001
4 years, 7 months ago (2016-05-03 23:02:39 UTC) #9
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 00:06:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1951483002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1951483002/40001
4 years, 7 months ago (2016-05-04 03:52:57 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-04 03:56:31 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 03:57:52 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c5f5e71c825261caab602fc6f59f9ea030fd4f8d
Cr-Commit-Position: refs/heads/master@{#391440}

Powered by Google App Engine
This is Rietveld 408576698