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

Issue 2093623003: [Offline pages] Hooking up SQL store to Offline RequestQueue (Closed)

Created:
4 years, 6 months ago by fgorski
Modified:
4 years, 5 months ago
CC:
chili+watch_chromium.org, chromium-reviews, dewittj+watch_chromium.org, dimich+watch_chromium.org, fgorski+watch_chromium.org, petewil+watch_chromium.org, romax+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] Hooking up SQL store to Offline RequestQueue Adds a constant for directory that stores the SQL store for request queue Updates RequestCoordinatorFactory to initialize RequestQueue with the SQL based store BUG=607221 Committed: https://crrev.com/c67805cbdf92a3f4c7f2c9363116a428816c27a0 Cr-Commit-Position: refs/heads/master@{#402855}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixing the test #

Patch Set 3 : Addressing CR feedback from Doug #

Patch Set 4 : Reverting the SQL store change having realized it is not needed" #

Patch Set 5 : Adding a test for SQL store actually persisting requests across resets #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -4 lines) Patch
M chrome/browser/android/offline_pages/request_coordinator_factory.cc View 1 2 2 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/android/offline_pages/request_coordinator_factory_unittest.cc View 1 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/background/request_queue_store_unittest.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
fgorski
PTAL. This adds a SQL store to request coordinator.
4 years, 6 months ago (2016-06-23 20:22:59 UTC) #2
Pete Williamson
lgtm when tests are fixed.
4 years, 6 months ago (2016-06-23 22:28:49 UTC) #3
jochen (gone - plz use gerrit)
Can you add a test that checks that the database is correctly persisted?
4 years, 6 months ago (2016-06-24 13:34:41 UTC) #4
dougarnett
lgtm with some naming suggestions https://codereview.chromium.org/2093623003/diff/1/chrome/browser/android/offline_pages/request_coordinator_factory.cc File chrome/browser/android/offline_pages/request_coordinator_factory.cc (right): https://codereview.chromium.org/2093623003/diff/1/chrome/browser/android/offline_pages/request_coordinator_factory.cc#newcode50 chrome/browser/android/offline_pages/request_coordinator_factory.cc:50: scoped_refptr<base::SequencedTaskRunner> background_task_runner = Is ...
4 years, 6 months ago (2016-06-24 16:08:28 UTC) #5
fgorski
Addressing feedback from Doug https://codereview.chromium.org/2093623003/diff/1/chrome/browser/android/offline_pages/request_coordinator_factory.cc File chrome/browser/android/offline_pages/request_coordinator_factory.cc (right): https://codereview.chromium.org/2093623003/diff/1/chrome/browser/android/offline_pages/request_coordinator_factory.cc#newcode50 chrome/browser/android/offline_pages/request_coordinator_factory.cc:50: scoped_refptr<base::SequencedTaskRunner> background_task_runner = On 2016/06/24 ...
4 years, 6 months ago (2016-06-24 18:18:46 UTC) #6
fgorski
On 2016/06/24 13:34:41, jochen wrote: > Can you add a test that checks that the ...
4 years, 6 months ago (2016-06-24 18:27:43 UTC) #7
jochen (gone - plz use gerrit)
On 2016/06/24 at 18:27:43, fgorski wrote: > On 2016/06/24 13:34:41, jochen wrote: > > Can ...
4 years, 5 months ago (2016-06-27 08:27:31 UTC) #8
fgorski
On 2016/06/27 08:27:31, jochen wrote: > On 2016/06/24 at 18:27:43, fgorski wrote: > > On ...
4 years, 5 months ago (2016-06-28 21:13:08 UTC) #9
Pete Williamson
new test lgtm
4 years, 5 months ago (2016-06-28 21:45:28 UTC) #10
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-06-29 15:18:43 UTC) #11
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/2093623003/80001
4 years, 5 months ago (2016-06-29 16:30:28 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-29 17:39:34 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 17:40:02 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 17:42:28 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c67805cbdf92a3f4c7f2c9363116a428816c27a0
Cr-Commit-Position: refs/heads/master@{#402855}

Powered by Google App Engine
This is Rietveld 408576698