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

Unified Diff: sync/notifier/p2p_invalidator.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: sync/notifier/p2p_invalidator.h
diff --git a/sync/notifier/p2p_invalidator.h b/sync/notifier/p2p_invalidator.h
index a56521e09c25249590fc22c8f9a62ebda9222b74..e99637b60bd246a63f94a9c72a6b78ed322fcc38 100644
--- a/sync/notifier/p2p_invalidator.h
+++ b/sync/notifier/p2p_invalidator.h
@@ -23,6 +23,10 @@
#include "sync/notifier/invalidator_registrar.h"
#include "sync/notifier/invalidator_state.h"
+// FIXME: These are included only for the sake of p2p_invalidation_service...
+#include "jingle/notifier/base/notifier_options.h"
+#include "jingle/notifier/listener/push_client.h"
+
namespace notifier {
class PushClient;
} // namespace notifier
@@ -108,8 +112,6 @@ class SYNC_EXPORT_PRIVATE P2PInvalidator
virtual InvalidatorState GetInvalidatorState() const OVERRIDE;
virtual void UpdateCredentials(
const std::string& email, const std::string& token) OVERRIDE;
- virtual void SendInvalidation(
- const ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
// PushClientObserver implementation.
virtual void OnNotificationsEnabled() OVERRIDE;
@@ -118,6 +120,9 @@ class SYNC_EXPORT_PRIVATE P2PInvalidator
virtual void OnIncomingNotification(
const notifier::Notification& notification) OVERRIDE;
+ virtual void SendInvalidation(
+ const ObjectIdInvalidationMap& invalidation_map);
+
void SendNotificationDataForTest(
const P2PNotificationData& notification_data);

Powered by Google App Engine
This is Rietveld 408576698