summaryrefslogtreecommitdiffstats
path: root/sync/sync.gyp
diff options
context:
space:
mode:
authorpavely <pavely@chromium.org>2015-03-09 14:13:59 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-09 21:15:15 +0000
commit6adcada8a799057c31c0f17550c9e2747a8df847 (patch)
tree1245ad7a94e04755c75d9f6606316b324485b8bf /sync/sync.gyp
parent28acf2a2b90abf3cafb21e44a6c396f747e8653d (diff)
downloadchromium_src-6adcada8a799057c31c0f17550c9e2747a8df847.zip
chromium_src-6adcada8a799057c31c0f17550c9e2747a8df847.tar.gz
chromium_src-6adcada8a799057c31c0f17550c9e2747a8df847.tar.bz2
[Sync] Refactor AttachmentStore classes. Introduce concept of referrer.
In this change: - Move towards following class hierarchy: http://www.plantuml.com:80/plantuml/png/ZPBTJiCm38NlynIvv4TzWsaI525nCI5jkw-on1EZQHmvwQG9U7TC4-ZeKiITvNm-EiSExbv1Hxc6VOszYs24mDHQeG6xFNcGRqBAknYLVkd0nKr40l7nmqrU1deDeRUHYrfPkrEw3LmJx848YCkWqODfkECZBIOAZuHin9abWxUo9b0Hdjt38RGJyEhwZ4YZI9kJq_mmRp0pAPKnd7pGgG8t6usTHyVe7_FPtY3mbOth9ghGDjGxTnwlaEq-ySjv-KmCwZflxvVyE5bSIa4Mw7ZGyDHvAyHurPkgkhZgz9PuoNp75tDhAUZcJ68cwkATHyfXnFWn4_PFDsKuNLuKLrFodGS-0G00 - Remove AttachmenService::GetStore. Now attachment store is owned by model type, there is no need to get it from AttachmentService - Introduce AttachmentReferrer. There is no functionality behind it yet and interface is not complete for it. These will come in the next change. BUG=457735 R=maniscalco@chromium.org TEST=Not exposed in chrome. Only unit tests available (sync_unit_tests) Review URL: https://codereview.chromium.org/986743004 Cr-Commit-Position: refs/heads/master@{#319733}
Diffstat (limited to 'sync/sync.gyp')
-rw-r--r--sync/sync.gyp6
1 files changed, 4 insertions, 2 deletions
diff --git a/sync/sync.gyp b/sync/sync.gyp
index 1805955..49a792a 100644
--- a/sync/sync.gyp
+++ b/sync/sync.gyp
@@ -67,6 +67,8 @@
'api/attachments/attachment_metadata.h',
'api/attachments/attachment_store.cc',
'api/attachments/attachment_store.h',
+ 'api/attachments/attachment_store_backend.cc',
+ 'api/attachments/attachment_store_backend.h',
'api/string_ordinal.h',
'api/sync_change.cc',
'api/sync_change.h',
@@ -167,7 +169,7 @@
'internal_api/attachments/attachment_service_impl.cc',
'internal_api/attachments/attachment_service_proxy.cc',
'internal_api/attachments/attachment_service_proxy_for_test.cc',
- 'internal_api/attachments/attachment_store_handle.cc',
+ 'internal_api/attachments/attachment_store_frontend.cc',
'internal_api/attachments/attachment_uploader.cc',
'internal_api/attachments/attachment_uploader_impl.cc',
'internal_api/attachments/attachment_util.cc',
@@ -208,7 +210,7 @@
'internal_api/public/attachments/attachment_service_impl.h',
'internal_api/public/attachments/attachment_service_proxy.h',
'internal_api/public/attachments/attachment_service_proxy_for_test.h',
- 'internal_api/public/attachments/attachment_store_handle.h',
+ 'internal_api/public/attachments/attachment_store_frontend.h',
'internal_api/public/attachments/attachment_uploader.h',
'internal_api/public/attachments/attachment_uploader_impl.h',
'internal_api/public/attachments/attachment_util.h',