#ifndef CHROME_BROWSER_INVALIDATION_INVALIDATION_LOGGER_OBSERVER_H_
#define CHROME_BROWSER_INVALIDATION_INVALIDATION_LOGGER_OBSERVER_H_
#include "base/memory/scoped_ptr.h"
#include "sync/notifier/invalidation_util.h"
#include "sync/notifier/invalidator_state.h"
#include "sync/notifier/object_id_invalidation_map.h"
namespace base {
class DictionaryValue;
}
namespace syncer {
class InvalidationHandler;
class ObjectIdInvalidationMap;
}
namespace invalidation {
class InvalidationLoggerObserver {
public:
virtual void OnRegistrationChange(
const std::multiset<std::string>& registered_handlers) = 0;
virtual void OnStateChange(const syncer::InvalidatorState& new_state) = 0;
virtual void OnUpdateIds(const std::string& handler_name,
const syncer::ObjectIdCountMap& details) = 0;
virtual void OnDebugMessage(const base::DictionaryValue& details) = 0;
virtual void OnInvalidation(
const syncer::ObjectIdInvalidationMap& details) = 0;
virtual void OnDetailedStatus(const base::DictionaryValue& details) = 0;
protected:
virtual ~InvalidationLoggerObserver() {}
};
}
#endif