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

Issue 436373002: Move non-API code out of sync/api/attachments/ (Closed)

Created:
6 years, 4 months ago by maniscalco
Modified:
6 years, 4 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, zea+watch_chromium.org, haitaol+watch_chromium.org, browser-components-watch_chromium.org, pam+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, maniscalco+watch_chromium.org, pavely
Project:
chromium
Visibility:
Public.

Description

Move non-API code out of sync/api/attachments/. This change moves all non-API classes to sync/internal_api/public/attachments/ so that the various sync sub-components may depend on sync/api/attachments without risking a cyclic dependency. Remove unused variables and includes from attachment_service_proxy_unittest.cc. Remove an unnecessary forward declaration from attachment_service_proxy.h. TBR=nkostylev@chromium.org,pam@chromium.org,bengr@chromium.org,brettw@chromium.org,miket@chromium.org,pkotwicz@chromium.org,msw@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287623

Patch Set 1 #

Total comments: 4

Patch Set 2 : Apply CR feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -2224 lines) Patch
M chrome/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_password_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_test_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/sessions/sessions_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/prefs/prefs_syncable_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_registration_utility_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_sync_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/device_info_sync_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/favicon_cache_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_mock.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_syncable_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_store_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/fake_generic_change_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/generic_change_processor.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/generic_change_processor_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/shared_change_processor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/sync_api_component_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/ui_data_type_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A sync/api/attachments/README View 1 1 chunk +6 lines, -0 lines 0 comments Download
D sync/api/attachments/attachment_downloader.h View 1 chunk +0 lines, -65 lines 0 comments Download
D sync/api/attachments/attachment_downloader.cc View 1 chunk +0 lines, -33 lines 0 comments Download
D sync/api/attachments/attachment_service.h View 1 chunk +0 lines, -92 lines 0 comments Download
D sync/api/attachments/attachment_service.cc View 1 chunk +0 lines, -12 lines 0 comments Download
D sync/api/attachments/attachment_service_impl.h View 1 chunk +0 lines, -91 lines 0 comments Download
D sync/api/attachments/attachment_service_impl.cc View 1 chunk +0 lines, -264 lines 0 comments Download
D sync/api/attachments/attachment_service_impl_unittest.cc View 1 chunk +0 lines, -452 lines 0 comments Download
D sync/api/attachments/attachment_service_proxy.h View 1 chunk +0 lines, -115 lines 0 comments Download
D sync/api/attachments/attachment_service_proxy.cc View 1 chunk +0 lines, -148 lines 0 comments Download
D sync/api/attachments/attachment_service_proxy_for_test.h View 1 chunk +0 lines, -51 lines 0 comments Download
D sync/api/attachments/attachment_service_proxy_for_test.cc View 1 chunk +0 lines, -62 lines 0 comments Download
D sync/api/attachments/attachment_service_proxy_unittest.cc View 1 chunk +0 lines, -227 lines 0 comments Download
D sync/api/attachments/attachment_uploader.h View 1 chunk +0 lines, -45 lines 0 comments Download
D sync/api/attachments/attachment_uploader.cc View 1 chunk +0 lines, -14 lines 0 comments Download
A + sync/api/attachments/fake_attachment_store.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + sync/api/attachments/fake_attachment_store.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + sync/api/attachments/fake_attachment_store_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M sync/api/sync_change_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/api/sync_data.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/api/sync_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/api/sync_data_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M sync/internal_api/DEPS View 1 1 chunk +4 lines, -0 lines 0 comments Download
A + sync/internal_api/attachments/attachment_downloader.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/attachments/attachment_downloader_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/attachments/attachment_service.cc View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/attachments/attachment_service_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + sync/internal_api/attachments/attachment_service_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/attachments/attachment_service_proxy.cc View 1 chunk +1 line, -2 lines 0 comments Download
A + sync/internal_api/attachments/attachment_service_proxy_for_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + sync/internal_api/attachments/attachment_service_proxy_unittest.cc View 4 chunks +2 lines, -11 lines 0 comments Download
A + sync/internal_api/attachments/attachment_uploader.cc View 1 chunk +1 line, -1 line 0 comments Download
D sync/internal_api/attachments/fake_attachment_store.cc View 1 1 chunk +0 lines, -128 lines 0 comments Download
D sync/internal_api/attachments/fake_attachment_store_unittest.cc View 1 1 chunk +0 lines, -256 lines 0 comments Download
A + sync/internal_api/public/attachments/attachment_downloader.h View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/internal_api/public/attachments/attachment_downloader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
A + sync/internal_api/public/attachments/attachment_service.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + sync/internal_api/public/attachments/attachment_service_impl.h View 1 2 chunks +7 lines, -7 lines 0 comments Download
A + sync/internal_api/public/attachments/attachment_service_proxy.h View 3 chunks +4 lines, -6 lines 0 comments Download
A + sync/internal_api/public/attachments/attachment_service_proxy_for_test.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + sync/internal_api/public/attachments/attachment_uploader.h View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/internal_api/public/attachments/attachment_uploader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/public/attachments/fake_attachment_downloader.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/public/attachments/fake_attachment_store.h View 1 1 chunk +0 lines, -60 lines 0 comments Download
M sync/internal_api/public/attachments/fake_attachment_uploader.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/sync.gyp View 1 3 chunks +14 lines, -14 lines 0 comments Download
M sync/sync_tests.gypi View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
maniscalco
Move non-API code out of sync/api/attachments/. This change moves all non-API classes to sync/internal_api/public/attachments/ so ...
6 years, 4 months ago (2014-08-04 23:12:39 UTC) #1
maniscalco
Tim, would you please review this change? It's not as bad as it looks :)
6 years, 4 months ago (2014-08-04 23:39:36 UTC) #2
tim (not reviewing)
Nice. LGTM with comment requested. https://codereview.chromium.org/436373002/diff/60001/sync/api/attachments/attachment_store.h File sync/api/attachments/attachment_store.h (left): https://codereview.chromium.org/436373002/diff/60001/sync/api/attachments/attachment_store.h#oldcode28 sync/api/attachments/attachment_store.h:28: class SYNC_EXPORT AttachmentStore { ...
6 years, 4 months ago (2014-08-05 16:47:55 UTC) #3
maniscalco
Thanks for the feedback. All applied. Adding OWNERS for downstream changes to TBR. These changes ...
6 years, 4 months ago (2014-08-05 18:05:58 UTC) #4
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 4 months ago (2014-08-05 18:20:12 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/436373002/80001
6 years, 4 months ago (2014-08-05 18:23:14 UTC) #6
miket_OOO
c/b/e LGTM
6 years, 4 months ago (2014-08-05 20:17:07 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 22:20:34 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 22:41:14 UTC) #9
Message was sent while issue was closed.
Change committed as 287623

Powered by Google App Engine
This is Rietveld 408576698