1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_
6 #define COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_
8 #include "components/invalidation/public/invalidator_state.h"
9 #include "jingle/notifier/listener/push_client_observer.h"
13 InvalidatorState
FromNotifierReason(
14 notifier::NotificationsDisabledReason reason
);
16 // Should not be called when |state| == INVALIDATIONS_ENABLED.
17 notifier::NotificationsDisabledReason
18 ToNotifierReasonForTest(InvalidatorState state
);
22 #endif // COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_