Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1704)

Unified Diff: chrome/browser/sync/invalidation_frontend.h

Issue 13197004: Draft: InvalidationService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Passes tests Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/invalidation_frontend.h
diff --git a/chrome/browser/sync/invalidation_frontend.h b/chrome/browser/sync/invalidation_frontend.h
index 0c767704f0b12fe0be6ad988e2f41a712aab6e27..cddf6d4dcd38c9d2c617eb40deb10ba958d72d9d 100644
--- a/chrome/browser/sync/invalidation_frontend.h
+++ b/chrome/browser/sync/invalidation_frontend.h
@@ -6,9 +6,11 @@
#define CHROME_BROWSER_SYNC_INVALIDATION_FRONTEND_H_
#include "sync/notifier/invalidation_util.h"
+#include "sync/notifier/invalidator_state.h"
namespace syncer {
class InvalidationHandler;
+class AckHandle;
} // namespace syncer
// Interface for classes that handle invalidation registrations and send out
@@ -92,6 +94,10 @@ class InvalidationFrontend {
// the updated state.
virtual syncer::InvalidatorState GetInvalidatorState() const = 0;
+ // Returns this client's unique ID. Used to prevent this client from
+ // receiving notifications of commits it made itself.
+ virtual std::string GetInvalidatorClientId() const = 0;
+
protected:
virtual ~InvalidationFrontend() { }
};

Powered by Google App Engine
This is Rietveld 408576698