Index: sync/notifier/invalidation_notifier.cc |
diff --git a/sync/notifier/invalidation_notifier.cc b/sync/notifier/invalidation_notifier.cc |
index f56bbd66187221398d03d3ac6e5197283f4f38b0..0775d74e9c33d8d878ac8fe38ea9ee99aaeb4230 100644 |
--- a/sync/notifier/invalidation_notifier.cc |
+++ b/sync/notifier/invalidation_notifier.cc |
@@ -11,7 +11,7 @@ |
#include "google/cacheinvalidation/include/invalidation-client-factory.h" |
#include "jingle/notifier/listener/push_client.h" |
#include "net/url_request/url_request_context.h" |
-#include "sync/notifier/sync_notifier_observer.h" |
+#include "sync/notifier/invalidation_handler.h" |
#include "talk/xmpp/jid.h" |
#include "talk/xmpp/xmppclientsettings.h" |
@@ -35,19 +35,19 @@ InvalidationNotifier::~InvalidationNotifier() { |
DCHECK(CalledOnValidThread()); |
} |
-void InvalidationNotifier::RegisterHandler(SyncNotifierObserver* handler) { |
+void InvalidationNotifier::RegisterHandler(InvalidationHandler* handler) { |
DCHECK(CalledOnValidThread()); |
registrar_.RegisterHandler(handler); |
} |
-void InvalidationNotifier::UpdateRegisteredIds(SyncNotifierObserver* handler, |
+void InvalidationNotifier::UpdateRegisteredIds(InvalidationHandler* handler, |
const ObjectIdSet& ids) { |
DCHECK(CalledOnValidThread()); |
registrar_.UpdateRegisteredIds(handler, ids); |
invalidation_client_.UpdateRegisteredIds(registrar_.GetAllRegisteredIds()); |
} |
-void InvalidationNotifier::UnregisterHandler(SyncNotifierObserver* handler) { |
+void InvalidationNotifier::UnregisterHandler(InvalidationHandler* handler) { |
DCHECK(CalledOnValidThread()); |
registrar_.UnregisterHandler(handler); |
} |