diff options
author | cjhopman <cjhopman@chromium.org> | 2014-11-19 15:13:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 23:14:02 +0000 |
commit | ce6d65fc6d4030cad4db59d6aa6d6285b4de660c (patch) | |
tree | 3094f1f0de595e03fabf93e84f86225079694aa6 /components/dom_distiller.gypi | |
parent | 9e4ea8fe9ae6e2225a261583585158505342f4d6 (diff) | |
download | chromium_src-ce6d65fc6d4030cad4db59d6aa6d6285b4de660c.zip chromium_src-ce6d65fc6d4030cad4db59d6aa6d6285b4de660c.tar.gz chromium_src-ce6d65fc6d4030cad4db59d6aa6d6285b4de660c.tar.bz2 |
Add attachments support to DomDistillerStore
The DomDistillerStore now provides simple, asynchronous Get and Update
for attachments. When an update is requested, we add the attachments to
the attachment store, and when that succeeds update the model/sync/db
entry. So, while non-attachment updates are applied asynchronously, that
is not the case for attachment updates.
Most of the mapping between the ids stored in the specifics and the actual
attachment objects is handled by ArticleAttachmentsData.
BUG=430552
Review URL: https://codereview.chromium.org/717793007
Cr-Commit-Position: refs/heads/master@{#304917}
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r-- | components/dom_distiller.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi index b720fab5..2e5629d 100644 --- a/components/dom_distiller.gypi +++ b/components/dom_distiller.gypi @@ -55,6 +55,8 @@ 'sources': [ 'dom_distiller/android/component_jni_registrar.cc', 'dom_distiller/android/component_jni_registrar.h', + 'dom_distiller/core/article_attachments_data.cc', + 'dom_distiller/core/article_attachments_data.h', 'dom_distiller/core/article_distillation_update.cc', 'dom_distiller/core/article_distillation_update.h', 'dom_distiller/core/article_entry.cc', |