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_INVALIDATION_SERVICE_H_ | 5 #ifndef COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_H_ |
6 #define COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_H_ | 6 #define COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 9 #include "components/keyed_service/core/keyed_service.h" |
| 10 #include "sync/internal_api/public/base/invalidator_state.h" |
10 #include "sync/notifier/invalidation_util.h" | 11 #include "sync/notifier/invalidation_util.h" |
11 #include "sync/notifier/invalidator_state.h" | |
12 | 12 |
13 class IdentityProvider; | 13 class IdentityProvider; |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
16 class InvalidationHandler; | 16 class InvalidationHandler; |
17 } // namespace syncer | 17 } // namespace syncer |
18 | 18 |
19 namespace invalidation { | 19 namespace invalidation { |
20 class InvalidationLogger; | 20 class InvalidationLogger; |
21 | 21 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // Returns the identity provider. | 113 // Returns the identity provider. |
114 virtual IdentityProvider* GetIdentityProvider() = 0; | 114 virtual IdentityProvider* GetIdentityProvider() = 0; |
115 | 115 |
116 protected: | 116 protected: |
117 virtual ~InvalidationService() { } | 117 virtual ~InvalidationService() { } |
118 }; | 118 }; |
119 | 119 |
120 } // namespace invalidation | 120 } // namespace invalidation |
121 | 121 |
122 #endif // COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_H_ | 122 #endif // COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_H_ |
OLD | NEW |