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

Issue 2356433004: [Offline pages] Extracting AddRequest method in RequestQueueStore (Closed)

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

Description

[Offline pages] Extracting AddRequest method in RequestQueueStore * Adding AddRequest to RQStoreSQL and RQInMemoryStore * Updating the Add test. BUG=645522 Committed: https://crrev.com/72ae3a4a08e47cdbb0df4e62e7910b83133f5490 Cr-Commit-Position: refs/heads/master@{#420084}

Patch Set 1 #

Patch Set 2 : Updating the callback for AddRequest. #

Total comments: 16

Patch Set 3 : Rebasing #

Patch Set 4 : Addressing feedback plus attempt at fixing compilation issue" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -57 lines) Patch
M components/offline_pages/background/request_queue.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/background/request_queue.cc View 1 2 3 2 chunks +18 lines, -7 lines 0 comments Download
M components/offline_pages/background/request_queue_in_memory_store.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_queue_in_memory_store.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_queue_store.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M components/offline_pages/background/request_queue_store_sql.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_queue_store_sql.cc View 1 2 3 5 chunks +50 lines, -1 line 0 comments Download
M components/offline_pages/background/request_queue_store_unittest.cc View 1 15 chunks +52 lines, -36 lines 0 comments Download
M components/offline_pages/background/save_page_request.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/background/save_page_request.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M components/offline_pages/offline_page_metadata_store.h View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M components/offline_pages/offline_page_types.h View 1 1 chunk +5 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (15 generated)
fgorski
PTAL This is pending a rebase/sync to the 2 previous patches, but I don't intend ...
4 years, 3 months ago (2016-09-20 23:25:58 UTC) #3
fgorski
PTAL
4 years, 3 months ago (2016-09-20 23:26:14 UTC) #5
Pete Williamson
https://codereview.chromium.org/2356433004/diff/20001/components/offline_pages/background/request_queue_in_memory_store.h File components/offline_pages/background/request_queue_in_memory_store.h (right): https://codereview.chromium.org/2356433004/diff/20001/components/offline_pages/background/request_queue_in_memory_store.h#newcode26 components/offline_pages/background/request_queue_in_memory_store.h:26: void AddRequest(const SavePageRequest& offline_page, So are you renaming AddOrUpdateRequest ...
4 years, 3 months ago (2016-09-21 00:00:08 UTC) #8
fgorski
Addressed and patch is fixed now. https://codereview.chromium.org/2356433004/diff/20001/components/offline_pages/background/request_queue_in_memory_store.h File components/offline_pages/background/request_queue_in_memory_store.h (right): https://codereview.chromium.org/2356433004/diff/20001/components/offline_pages/background/request_queue_in_memory_store.h#newcode26 components/offline_pages/background/request_queue_in_memory_store.h:26: void AddRequest(const SavePageRequest& ...
4 years, 3 months ago (2016-09-21 05:07:51 UTC) #15
Pete Williamson
lgtm
4 years, 3 months ago (2016-09-21 16:43:46 UTC) #18
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/2356433004/60001
4 years, 3 months ago (2016-09-21 16:56:26 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-21 17:04:17 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 17:06:51 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/72ae3a4a08e47cdbb0df4e62e7910b83133f5490
Cr-Commit-Position: refs/heads/master@{#420084}

Powered by Google App Engine
This is Rietveld 408576698