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

Issue 616983002: Reland Refactor FakeAttachmentStore (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

Reland Refactor FakeAttachmentStore Refactor FakeAttachmentStore into AttachmentStoreProxy and InMemoryAttachmentStore backend. Break AttachmentStore interface into AttachmentStoreBase (common interface for backends) and AttachmentStore (referenced by datatype and AttachmentService). BUG= R=maniscalco@chromium.org Committed: https://crrev.com/c4c7e842b3ba77671b74ac263e5fb7217c3dfbfb Cr-Commit-Position: refs/heads/master@{#297951}

Patch Set 1 #

Patch Set 2 : Fix memory leak and DeviceInfo tests #

Patch Set 3 : Owned => Passed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -492 lines) Patch
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_mock.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_info_sync_service_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/generic_change_processor_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/BUILD.gn View 4 chunks +11 lines, -8 lines 0 comments Download
M sync/api/attachments/attachment_store.h View 3 chunks +18 lines, -4 lines 0 comments Download
M sync/api/attachments/attachment_store.cc View 1 chunk +15 lines, -0 lines 0 comments Download
D sync/api/attachments/fake_attachment_store.h View 1 chunk +0 lines, -60 lines 0 comments Download
D sync/api/attachments/fake_attachment_store.cc View 1 chunk +0 lines, -128 lines 0 comments Download
D sync/api/attachments/fake_attachment_store_unittest.cc View 1 chunk +0 lines, -257 lines 0 comments Download
M sync/internal_api/attachments/attachment_service_impl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M sync/internal_api/attachments/attachment_service_impl_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A sync/internal_api/attachments/attachment_store_handle.cc View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A sync/internal_api/attachments/attachment_store_handle_unittest.cc View 1 chunk +148 lines, -0 lines 0 comments Download
A sync/internal_api/attachments/in_memory_attachment_store.cc View 1 chunk +80 lines, -0 lines 0 comments Download
A + sync/internal_api/attachments/in_memory_attachment_store_unittest.cc View 8 chunks +19 lines, -17 lines 0 comments Download
A sync/internal_api/public/attachments/attachment_store_handle.h View 1 chunk +66 lines, -0 lines 0 comments Download
A sync/internal_api/public/attachments/in_memory_attachment_store.h View 1 chunk +43 lines, -0 lines 0 comments Download
M sync/sync.gyp View 3 chunks +10 lines, -8 lines 0 comments Download
M sync/sync_tests.gypi View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
pavely
I fixed memory leaks. Patchset 1 is original change, patchset 2 is fix. PTAL https://codereview.chromium.org/616983002/diff/40001/sync/internal_api/attachments/attachment_store_handle.cc ...
6 years, 2 months ago (2014-10-01 00:51:49 UTC) #2
pavely
PTAL. This is the fix we discussed this morning.
6 years, 2 months ago (2014-10-01 18:39:57 UTC) #5
pavely
PTAL.
6 years, 2 months ago (2014-10-02 21:45:28 UTC) #6
maniscalco
On 2014/10/02 21:45:28, pavely wrote: > PTAL. LGTM (assuming it passes linux_chromium_asan_rel).
6 years, 2 months ago (2014-10-02 21:53:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/616983002/100001
6 years, 2 months ago (2014-10-02 22:35:03 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:100001) as 604f95a61a23783a8df2d23038333e1f6031b590
6 years, 2 months ago (2014-10-02 23:43:09 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 23:45:35 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c4c7e842b3ba77671b74ac263e5fb7217c3dfbfb
Cr-Commit-Position: refs/heads/master@{#297951}

Powered by Google App Engine
This is Rietveld 408576698