diff options
author | cjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-03 20:28:52 +0000 |
---|---|---|
committer | cjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-03 20:28:52 +0000 |
commit | 9cff665aba533449ee287975ec01f68c1a3e4138 (patch) | |
tree | a2a3f05b90a4cb38025e2c2d217d29f30ccef62a /components/dom_distiller.gypi | |
parent | 2cff9f233362b325ca8dc285c025f167d91f9472 (diff) | |
download | chromium_src-9cff665aba533449ee287975ec01f68c1a3e4138.zip chromium_src-9cff665aba533449ee287975ec01f68c1a3e4138.tar.gz chromium_src-9cff665aba533449ee287975ec01f68c1a3e4138.tar.bz2 |
Add DOM Distiller syncable service
This adds DomDistillerStore which maintains the in-memory model of
the DOM distiller list. It implements SyncableService and keeps three
things consistent, sync, the local db, and the "user". Whenever a
change is received from one of these three, it is applied to the model
and each of the three sources are sent the "diff" between there
eventual state (i.e. after already sent messages are applied)
and the in-memory model's current state.
There is currently no support for deleting entries once they are
added to the list.
BUG=297789,288015
Review URL: https://codereview.chromium.org/24096015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226832 0039d316-1c4b-4281-b951-d872f2087c98
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 edfadd4..1447cf5 100644 --- a/components/dom_distiller.gypi +++ b/components/dom_distiller.gypi @@ -63,6 +63,8 @@ 'dom_distiller/core/dom_distiller_constants.h', 'dom_distiller/core/dom_distiller_database.cc', 'dom_distiller/core/dom_distiller_database.h', + 'dom_distiller/core/dom_distiller_store.cc', + 'dom_distiller/core/dom_distiller_store.h', ], }, ], |