summaryrefslogtreecommitdiffstats
path: root/sync/engine
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 22:46:26 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 22:46:26 +0000
commita7b16392ca1aa609cdc281e75cedf6fbbfe0bb0d (patch)
tree7a940cac2db3b87006fa2351014708fa411210e8 /sync/engine
parent1d5b19a3c39605c4b15731c6ec8bc6f03e09c739 (diff)
downloadchromium_src-a7b16392ca1aa609cdc281e75cedf6fbbfe0bb0d.zip
chromium_src-a7b16392ca1aa609cdc281e75cedf6fbbfe0bb0d.tar.gz
chromium_src-a7b16392ca1aa609cdc281e75cedf6fbbfe0bb0d.tar.bz2
Implement new invalidations ack tracking system
Enable the new invalidation ack tracking API. This system allows the invalidations system to remember invalidations that have not been acted upon yet across browser restarts. New features include: - Supports saving multiple invalidation payloads per ObjectID. - Supports tracking lost or dropped invalidations. - Remembers "unknown version" invalidations across restarts. - Can send multiple payloads in a single callback. - Does not periodically ping unacked invalidations. A series of commits prior to this one have put much of the framework in place already. This CL does not change the types and signatures of client-facing APIs very much, but it does enable perviously disbaled behavior. This CL includes updates to the client code to allow them to support the new semantics with (hopefully) few changes to externally visible behavior. Most of the big changes are in the classes and tests associated with the internals of Invalidations. Large parts of the SyncInvalidationListener and InvalidatorStorage have been rewritten. BUG=233437 Review URL: https://codereview.chromium.org/56113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine')
-rw-r--r--sync/engine/sync_scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/engine/sync_scheduler.h b/sync/engine/sync_scheduler.h
index c613ec9..aef0118 100644
--- a/sync/engine/sync_scheduler.h
+++ b/sync/engine/sync_scheduler.h
@@ -13,7 +13,6 @@
#include "base/time/time.h"
#include "sync/base/sync_export.h"
#include "sync/engine/nudge_source.h"
-#include "sync/notifier/object_id_invalidation_map.h"
#include "sync/sessions/sync_session.h"
namespace tracked_objects {
@@ -22,6 +21,7 @@ class Location;
namespace syncer {
+class ObjectIdInvalidationMap;
struct ServerConnectionEvent;
struct SYNC_EXPORT_PRIVATE ConfigurationParams {