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

Issue 1932953002: [Offline pages] Empty RequestQueue and SavePageRequest (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] Empty RequestQueue and SavePageRequest This is initial patch for request queue and save page request. SavePageRequest comes with basic implementation and tests. BUG=607221 R=dougarnett@chromium.org,petewil@chromium.org Committed: https://crrev.com/d01b7921e6789afc69ff794e36b84cfd609355ba Cr-Commit-Position: refs/heads/master@{#391169}

Patch Set 1 #

Patch Set 2 : Updated with documentation and formatting #

Total comments: 21

Patch Set 3 : Updates based on CR from petewil #

Patch Set 4 : Adding build files and fixing compilation issues #

Total comments: 8

Patch Set 5 : Updates based on email exchange and comments #

Patch Set 6 : Rebasing to the patch with build files #

Total comments: 1

Patch Set 7 : Adding tests, fixing bugs and updating build files #

Total comments: 6

Patch Set 8 : Addressing nits from Pete #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -3 lines) Patch
M components/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M components/offline_pages.gypi View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M components/offline_pages/background/BUILD.gn View 1 2 3 4 5 6 2 chunks +19 lines, -0 lines 0 comments Download
A components/offline_pages/background/request_queue.h View 1 2 3 4 1 chunk +85 lines, -0 lines 0 comments Download
A components/offline_pages/background/request_queue.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A components/offline_pages/background/save_page_request.h View 1 2 3 4 5 6 1 chunk +90 lines, -0 lines 0 comments Download
A components/offline_pages/background/save_page_request.cc View 1 2 3 4 5 6 1 chunk +67 lines, -0 lines 0 comments Download
A components/offline_pages/background/save_page_request_unittest.cc View 1 2 3 4 5 6 7 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
fgorski
PTAL. This is still missing the build files.
4 years, 7 months ago (2016-04-28 22:43:53 UTC) #1
Pete Williamson
https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.h File components/offline_pages/background/request_queue.h (right): https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.h#newcode28 components/offline_pages/background/request_queue.h:28: // it has reached a quota of active requests. ...
4 years, 7 months ago (2016-04-28 23:16:08 UTC) #2
fgorski
PTAL. Comments addressed, build files added, compilations issues resolved. https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.h File components/offline_pages/background/request_queue.h (right): https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.h#newcode28 components/offline_pages/background/request_queue.h:28: ...
4 years, 7 months ago (2016-04-29 05:19:16 UTC) #3
dougarnett
Just a bit confused by Status definitions https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.cc File components/offline_pages/background/request_queue.cc (right): https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.cc#newcode6 components/offline_pages/background/request_queue.cc:6: I saw ...
4 years, 7 months ago (2016-04-29 15:39:14 UTC) #5
Pete Williamson
lgtm, once DougArnett's comments are addressed. https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.cc File components/offline_pages/background/request_queue.cc (right): https://codereview.chromium.org/1932953002/diff/20001/components/offline_pages/background/request_queue.cc#newcode6 components/offline_pages/background/request_queue.cc:6: On 2016/04/29 15:39:14, ...
4 years, 7 months ago (2016-04-29 16:19:03 UTC) #6
fgorski
Updated. PTAL (Pete, there have been significant changes, you might want to take another look). ...
4 years, 7 months ago (2016-04-30 18:56:14 UTC) #7
dougarnett
lgtm https://codereview.chromium.org/1932953002/diff/100001/components/offline_pages/background/save_page_request.h File components/offline_pages/background/save_page_request.h (right): https://codereview.chromium.org/1932953002/diff/100001/components/offline_pages/background/save_page_request.h#newcode43 components/offline_pages/background/save_page_request.h:43: void MarkAttempStarted(const base::Time& start_time); Nice
4 years, 7 months ago (2016-05-02 15:54:20 UTC) #8
fgorski
Pete, PTAL now. Tests added. (I don't think this needs rebasing, but if it fails ...
4 years, 7 months ago (2016-05-02 21:12:08 UTC) #9
Pete Williamson
lgtm with nits https://codereview.chromium.org/1932953002/diff/120001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/1932953002/diff/120001/components/offline_pages/background/request_coordinator.cc#newcode29 components/offline_pages/background/request_coordinator.cc:29: void RequestCoordinator::StopProcessing() {} Nit - you ...
4 years, 7 months ago (2016-05-02 21:45:33 UTC) #11
fgorski
Addressed and re-testing. https://codereview.chromium.org/1932953002/diff/120001/components/offline_pages/background/request_coordinator.cc File components/offline_pages/background/request_coordinator.cc (right): https://codereview.chromium.org/1932953002/diff/120001/components/offline_pages/background/request_coordinator.cc#newcode29 components/offline_pages/background/request_coordinator.cc:29: void RequestCoordinator::StopProcessing() {} On 2016/05/02 21:45:33, ...
4 years, 7 months ago (2016-05-02 22:11:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932953002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932953002/140001
4 years, 7 months ago (2016-05-02 22:46:20 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/176351)
4 years, 7 months ago (2016-05-02 22:56:12 UTC) #17
fgorski
jam@ please review the gn/gyp changes. Thanks. Filip
4 years, 7 months ago (2016-05-02 23:23:36 UTC) #19
jam
lgtm
4 years, 7 months ago (2016-05-02 23:58:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932953002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932953002/140001
4 years, 7 months ago (2016-05-03 04:34:29 UTC) #22
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-03 04:41:47 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 04:43:05 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d01b7921e6789afc69ff794e36b84cfd609355ba
Cr-Commit-Position: refs/heads/master@{#391169}

Powered by Google App Engine
This is Rietveld 408576698