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

Issue 652723003: Implementation of OnDiskAttachmentStore. (Closed)

Created:
6 years, 2 months ago by pavely
Modified:
6 years, 2 months ago
Reviewers:
maniscalco
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implementation of OnDiskAttachmentStore. In this change only attachment payload is stored, support for metadata will be in separate change. Also in_memory_attachment_store_unittest is moved into test_template. This test is now used for both stores. BUG= R=maniscalco@chromium.org Committed: https://crrev.com/c00ea0662879684dc1c435ce6168550a27800205 Cr-Commit-Position: refs/heads/master@{#300041}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : OVERRIDE => override #

Total comments: 46

Patch Set 4 : Changes after feedback from Nick #

Total comments: 9

Patch Set 5 : More updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+599 lines, -364 lines) Patch
M sync/BUILD.gn View 1 3 chunks +5 lines, -0 lines 0 comments Download
M sync/api/attachments/attachment_store.h View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M sync/api/attachments/attachment_store.cc View 1 2 3 4 2 chunks +48 lines, -0 lines 0 comments Download
M sync/internal_api/attachments/attachment_store_handle_unittest.cc View 1 2 3 2 chunks +6 lines, -10 lines 0 comments Download
A + sync/internal_api/attachments/attachment_store_test_template.h View 1 2 3 4 chunks +133 lines, -96 lines 0 comments Download
M sync/internal_api/attachments/in_memory_attachment_store_unittest.cc View 1 chunk +10 lines, -244 lines 0 comments Download
A sync/internal_api/attachments/on_disk_attachment_store.cc View 1 2 3 4 1 chunk +174 lines, -0 lines 0 comments Download
A sync/internal_api/attachments/on_disk_attachment_store_unittest.cc View 1 2 3 1 chunk +159 lines, -0 lines 0 comments Download
A + sync/internal_api/public/attachments/on_disk_attachment_store.h View 1 2 3 2 chunks +31 lines, -14 lines 0 comments Download
M sync/sync.gyp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M sync/sync_tests.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
pavely
6 years, 2 months ago (2014-10-14 00:22:48 UTC) #1
maniscalco
Nice. Here's my feedback. Let's be sure to talk about a couple things in person ...
6 years, 2 months ago (2014-10-14 21:03:19 UTC) #2
maniscalco
Just adding comments for the stuff we discussed yesterday in person so nothing gets lost. ...
6 years, 2 months ago (2014-10-15 16:16:37 UTC) #3
pavely
PTAL https://codereview.chromium.org/652723003/diff/40001/sync/api/attachments/attachment_store.h File sync/api/attachments/attachment_store.h (right): https://codereview.chromium.org/652723003/diff/40001/sync/api/attachments/attachment_store.h#newcode54 sync/api/attachments/attachment_store.h:54: virtual void Load(const LoadCallback& callback) = 0; On ...
6 years, 2 months ago (2014-10-16 22:13:30 UTC) #4
maniscalco
Nice work. LGTM with a few final comments. https://codereview.chromium.org/652723003/diff/40001/sync/internal_api/attachments/on_disk_attachment_store.cc File sync/internal_api/attachments/on_disk_attachment_store.cc (right): https://codereview.chromium.org/652723003/diff/40001/sync/internal_api/attachments/on_disk_attachment_store.cc#newcode31 sync/internal_api/attachments/on_disk_attachment_store.cc:31: : ...
6 years, 2 months ago (2014-10-17 00:00:19 UTC) #5
pavely
https://codereview.chromium.org/652723003/diff/60001/sync/api/attachments/attachment_store.h File sync/api/attachments/attachment_store.h (right): https://codereview.chromium.org/652723003/diff/60001/sync/api/attachments/attachment_store.h#newcode113 sync/api/attachments/attachment_store.h:113: const scoped_refptr<base::SequencedTaskRunner> backend_task_runner, On 2014/10/17 00:00:19, maniscalco wrote: > ...
6 years, 2 months ago (2014-10-17 00:13:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/652723003/80001
6 years, 2 months ago (2014-10-17 00:16:17 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 2 months ago (2014-10-17 01:59:13 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 01:59:53 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c00ea0662879684dc1c435ce6168550a27800205
Cr-Commit-Position: refs/heads/master@{#300041}

Powered by Google App Engine
This is Rietveld 408576698