Revert of ui: Clean up damaged rects and clear them after painting. (patchset #2...
[chromium-blink-merge.git] / components / invalidation / notifier_reason_util.h
blob16025baf9abca922b34d81a450ea0930c994001d
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_NOTIFIER_REASON_UTIL_H_
6 #define COMPONENTS_INVALIDATION_NOTIFIER_REASON_UTIL_H_
8 #include "components/invalidation/invalidator_state.h"
9 #include "jingle/notifier/listener/push_client_observer.h"
11 namespace syncer {
13 InvalidatorState FromNotifierReason(
14 notifier::NotificationsDisabledReason reason);
16 // Should not be called when |state| == INVALIDATIONS_ENABLED.
17 notifier::NotificationsDisabledReason
18 ToNotifierReasonForTest(InvalidatorState state);
20 } // namespace syncer
22 #endif // COMPONENTS_INVALIDATION_NOTIFIER_REASON_UTIL_H_