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

Issue 270633005: Move code from sync/api/attachments to sync/internal_api/attachments. (Closed)

Created:
6 years, 7 months ago by maniscalco
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

Move code from sync/api/attachments to sync/internal_api/attachments. The goal is to reorganize the sync attachment code so that in the future attachment code can include stuff it needs (like src/net/) without loosening the DEPS rules for the rest of sync. Replace internal_api's coarse grained dep on net/ with finer grained deps. sync/api/attachments - Home to attachment code that's needed by both sync itself and users of sync. sync/internal_api/public/attachments - Home to attachment headers needed by sync/api/attachments. sync/internal_api/attachments - Home to attachment code that's private to sync. TBR=mef,erikwright,phajdan.jr BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269481

Patch Set 1 #

Patch Set 2 : Make internal_api's DEPS finer grained. #

Patch Set 3 : Drop some unneeded deps and trim DEPS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -569 lines) Patch
M chrome/browser/sync/glue/shared_change_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_mock.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/generic_change_processor_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D sync/api/attachments/fake_attachment_service.cc View 1 chunk +2 lines, -2 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, -121 lines 0 comments Download
D sync/api/attachments/fake_attachment_store_unittest.cc View 1 chunk +0 lines, -239 lines 0 comments Download
D sync/api/attachments/fake_attachment_uploader.h View 1 chunk +0 lines, -30 lines 0 comments Download
D sync/api/attachments/fake_attachment_uploader.cc View 1 chunk +0 lines, -32 lines 0 comments Download
D sync/api/attachments/fake_attachment_uploader_unittest.cc View 1 chunk +0 lines, -60 lines 0 comments Download
M sync/internal_api/DEPS View 1 2 1 chunk +5 lines, -1 line 0 comments Download
A sync/internal_api/attachments/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + sync/internal_api/attachments/fake_attachment_store.cc View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/attachments/fake_attachment_store_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/attachments/fake_attachment_uploader.cc View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/attachments/fake_attachment_uploader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/http_bridge.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
A + sync/internal_api/public/attachments/fake_attachment_store.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + sync/internal_api/public/attachments/fake_attachment_uploader.h View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/sync_api.gypi View 1 chunk +0 lines, -4 lines 0 comments Download
M sync/sync_internal_api.gypi View 2 chunks +4 lines, -0 lines 0 comments Download
M sync/sync_tests.gypi View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
maniscalco
Tim, would you please review this change? Pavel, FYI.
6 years, 7 months ago (2014-05-07 23:59:02 UTC) #1
tim (not reviewing)
LGTM, but can you actually modify the internal_api DEPS file to also be more specific ...
6 years, 7 months ago (2014-05-08 17:39:28 UTC) #2
maniscalco
On 2014/05/08 17:39:28, timsteele wrote: > LGTM, but can you actually modify the internal_api DEPS ...
6 years, 7 months ago (2014-05-08 18:43:49 UTC) #3
maniscalco
On 2014/05/08 18:43:49, maniscalco wrote: > On 2014/05/08 17:39:28, timsteele wrote: > > LGTM, but ...
6 years, 7 months ago (2014-05-08 18:55:15 UTC) #4
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 7 months ago (2014-05-08 18:55:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/270633005/160001
6 years, 7 months ago (2014-05-08 19:01:10 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 23:40:53 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 23:52:09 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66647)
6 years, 7 months ago (2014-05-08 23:52:09 UTC) #9
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 7 months ago (2014-05-09 00:11:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/270633005/160001
6 years, 7 months ago (2014-05-09 00:16:22 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 00:28:38 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 00:35:56 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66660)
6 years, 7 months ago (2014-05-09 00:35:56 UTC) #14
maniscalco
On 2014/05/09 00:35:56, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 7 months ago (2014-05-09 16:55:11 UTC) #15
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 7 months ago (2014-05-09 16:55:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/270633005/160001
6 years, 7 months ago (2014-05-09 16:59:19 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 02:02:08 UTC) #18
Message was sent while issue was closed.
Change committed as 269481

Powered by Google App Engine
This is Rietveld 408576698