#ifndef SYNC_NOTIFIER_INVALIDATOR_STATE_H_
#define SYNC_NOTIFIER_INVALIDATOR_STATE_H_
#include "jingle/notifier/listener/push_client_observer.h"
#include "sync/base/sync_export.h"
namespace syncer {
enum InvalidatorState {
TRANSIENT_INVALIDATION_ERROR,
DEFAULT_INVALIDATION_ERROR = TRANSIENT_INVALIDATION_ERROR,
INVALIDATION_CREDENTIALS_REJECTED,
INVALIDATIONS_ENABLED
};
SYNC_EXPORT const char* InvalidatorStateToString(InvalidatorState state);
InvalidatorState FromNotifierReason(
notifier::NotificationsDisabledReason reason);
SYNC_EXPORT_PRIVATE notifier::NotificationsDisabledReason
ToNotifierReasonForTest(InvalidatorState state);
}
#endif