summaryrefslogtreecommitdiffstats
path: root/sync/sync_core.gypi
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 19:44:11 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 19:44:11 +0000
commit4f435f72072eebacebe67316157e440d6cf20383 (patch)
tree2289301d1513931d73b3d283c6997fd6fa005b51 /sync/sync_core.gypi
parent0199b017150cd2817485271d206a68c2611635b2 (diff)
downloadchromium_src-4f435f72072eebacebe67316157e440d6cf20383.zip
chromium_src-4f435f72072eebacebe67316157e440d6cf20383.tar.gz
chromium_src-4f435f72072eebacebe67316157e440d6cf20383.tar.bz2
sync: Add ModelNeutralMutableEntry
Add a ModelNeutralMutableEntry that exists between Entry and MutableEntry in the hierarchy of syncable::Entry classes. This new class inherits all of Entry's getter methods, so it can has the same ability to read from entries as the current Entry and MutableEntry classes. All the setter methods from MutableEntry that are not model-changing have been moved into ModelNeutralMutableEntry. The non-model-changing setters are those whose mutations do not need to be communicated to the model-specific change processors. Because we know can guarantee all changes made through the ModelNeutralMutabeEntry functions will not need to be relayed to the change processors, it would be safe to skip calling SaveOriginal() in its setter functions. For now, though, we leave these setter functions unmodified. BUG=284672 Review URL: https://chromiumcodereview.appspot.com/23549038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sync_core.gypi')
-rw-r--r--sync/sync_core.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/sync_core.gypi b/sync/sync_core.gypi
index 95b3ff8..9633f5e 100644
--- a/sync/sync_core.gypi
+++ b/sync/sync_core.gypi
@@ -128,6 +128,8 @@
'syncable/invalid_directory_backing_store.cc',
'syncable/invalid_directory_backing_store.h',
'syncable/metahandle_set.h',
+ 'syncable/model_neutral_mutable_entry.cc',
+ 'syncable/model_neutral_mutable_entry.h',
'syncable/model_type.cc',
'syncable/mutable_entry.cc',
'syncable/mutable_entry.h',