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() { } |
}; |