blob: 9576b3cc880e22abe4478d1b59f737d033fce21c [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_
#define COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_
#include "components/invalidation/public/invalidator_state.h"
#include "jingle/notifier/listener/push_client_observer.h"
namespace syncer {
InvalidatorState FromNotifierReason(
notifier::NotificationsDisabledReason reason);
// Should not be called when |state| == INVALIDATIONS_ENABLED.
notifier::NotificationsDisabledReason
ToNotifierReasonForTest(InvalidatorState state);
} // namespace syncer
#endif // COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_