| Index: sync/notifier/p2p_notifier.cc
|
| diff --git a/sync/notifier/p2p_notifier.cc b/sync/notifier/p2p_notifier.cc
|
| index 44fa05abfde0e17d28bfaaf7ce9bf9e37a5616e6..1b99adbd8e2daac9d8cc5618d3f33e591faea7b0 100644
|
| --- a/sync/notifier/p2p_notifier.cc
|
| +++ b/sync/notifier/p2p_notifier.cc
|
| @@ -12,8 +12,8 @@
|
| #include "base/values.h"
|
| #include "jingle/notifier/listener/push_client.h"
|
| #include "sync/internal_api/public/base/model_type_state_map.h"
|
| +#include "sync/notifier/invalidation_handler.h"
|
| #include "sync/notifier/invalidation_util.h"
|
| -#include "sync/notifier/sync_notifier_observer.h"
|
|
|
| namespace syncer {
|
|
|
| @@ -157,12 +157,12 @@ P2PNotifier::~P2PNotifier() {
|
| push_client_->RemoveObserver(this);
|
| }
|
|
|
| -void P2PNotifier::RegisterHandler(SyncNotifierObserver* handler) {
|
| +void P2PNotifier::RegisterHandler(InvalidationHandler* handler) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| registrar_.RegisterHandler(handler);
|
| }
|
|
|
| -void P2PNotifier::UpdateRegisteredIds(SyncNotifierObserver* handler,
|
| +void P2PNotifier::UpdateRegisteredIds(InvalidationHandler* handler,
|
| const ObjectIdSet& ids) {
|
| // TODO(akalin): Handle arbitrary object IDs (http://crbug.com/140411).
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| @@ -177,7 +177,7 @@ void P2PNotifier::UpdateRegisteredIds(SyncNotifierObserver* handler,
|
| enabled_types_ = enabled_types;
|
| }
|
|
|
| -void P2PNotifier::UnregisterHandler(SyncNotifierObserver* handler) {
|
| +void P2PNotifier::UnregisterHandler(InvalidationHandler* handler) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| registrar_.UnregisterHandler(handler);
|
| }
|
|
|