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 #include "base/callback_forward.h" | 5 #include "base/callback_forward.h" |
6 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
7 #include "base/threading/non_thread_safe.h" | 7 #include "base/threading/non_thread_safe.h" |
8 #include "components/invalidation/invalidation_service.h" | 8 #include "components/invalidation/invalidation_service.h" |
| 9 #include "components/invalidation/p2p_invalidator.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 10 #include "components/keyed_service/core/keyed_service.h" |
10 #include "sync/notifier/p2p_invalidator.h" | |
11 | 11 |
12 #ifndef COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ | 12 #ifndef COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ |
13 #define COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ | 13 #define COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 class URLRequestContextGetter; | 16 class URLRequestContextGetter; |
17 } | 17 } |
18 | 18 |
19 namespace syncer { | 19 namespace syncer { |
20 class P2PInvalidator; | 20 class P2PInvalidator; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 scoped_ptr<IdentityProvider> identity_provider_; | 65 scoped_ptr<IdentityProvider> identity_provider_; |
66 scoped_ptr<syncer::P2PInvalidator> invalidator_; | 66 scoped_ptr<syncer::P2PInvalidator> invalidator_; |
67 std::string invalidator_id_; | 67 std::string invalidator_id_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationService); | 69 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationService); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace invalidation | 72 } // namespace invalidation |
73 | 73 |
74 #endif // COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ | 74 #endif // COMPONENTS_INVALIDATION_P2P_INVALIDATION_SERVICE_H_ |
OLD | NEW |