| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_INVALIDATION_NOTIFIER_REASON_UTIL_H_ | 5 #ifndef COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_ |
| 6 #define COMPONENTS_INVALIDATION_NOTIFIER_REASON_UTIL_H_ | 6 #define COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_ |
| 7 | 7 |
| 8 #include "components/invalidation/invalidator_state.h" | 8 #include "components/invalidation/public/invalidator_state.h" |
| 9 #include "jingle/notifier/listener/push_client_observer.h" | 9 #include "jingle/notifier/listener/push_client_observer.h" |
| 10 | 10 |
| 11 namespace syncer { | 11 namespace syncer { |
| 12 | 12 |
| 13 InvalidatorState FromNotifierReason( | 13 InvalidatorState FromNotifierReason( |
| 14 notifier::NotificationsDisabledReason reason); | 14 notifier::NotificationsDisabledReason reason); |
| 15 | 15 |
| 16 // Should not be called when |state| == INVALIDATIONS_ENABLED. | 16 // Should not be called when |state| == INVALIDATIONS_ENABLED. |
| 17 notifier::NotificationsDisabledReason | 17 notifier::NotificationsDisabledReason |
| 18 ToNotifierReasonForTest(InvalidatorState state); | 18 ToNotifierReasonForTest(InvalidatorState state); |
| 19 | 19 |
| 20 } // namespace syncer | 20 } // namespace syncer |
| 21 | 21 |
| 22 #endif // COMPONENTS_INVALIDATION_NOTIFIER_REASON_UTIL_H_ | 22 #endif // COMPONENTS_INVALIDATION_IMPL_NOTIFIER_REASON_UTIL_H_ |
| OLD | NEW |