summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller.gypi
diff options
context:
space:
mode:
authorcjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 20:29:38 +0000
committercjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 20:29:38 +0000
commit2397eca1ec37c886d8f01ae1093101c05e632f31 (patch)
tree5e4592339fa03b566cb56584828271831887185f /components/dom_distiller.gypi
parent516b507d3a0c707f7ee1d1af23b1e90c03185f38 (diff)
downloadchromium_src-2397eca1ec37c886d8f01ae1093101c05e632f31.zip
chromium_src-2397eca1ec37c886d8f01ae1093101c05e632f31.tar.gz
chromium_src-2397eca1ec37c886d8f01ae1093101c05e632f31.tar.bz2
Add a DistilledContentStore (and an in-memory impl)
This is the interface to whatever is used for storing and fetching distilled content. In the future, this should be provided by sync attachments. For now, we need something. The interface is a very simple pair of functions, SaveContent and LoadContent, both asynchronous. There is a simple in-memory implementation that just stores saved content in a map. The DomDistillerService creates the store and uses a save callback on the TaskTracker to save content to it. The TaskTracker receives a pointer to the store and uses it when StartBlobFetcher is called. BUG=288015 Review URL: https://codereview.chromium.org/189833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r--components/dom_distiller.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index 271dd79..fb59ef0 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -55,6 +55,8 @@
'dom_distiller/core/article_distillation_update.h',
'dom_distiller/core/article_entry.cc',
'dom_distiller/core/article_entry.h',
+ 'dom_distiller/core/distilled_content_store.cc',
+ 'dom_distiller/core/distilled_content_store.h',
'dom_distiller/core/distiller.cc',
'dom_distiller/core/distiller.h',
'dom_distiller/core/distiller_page.cc',