| 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/macros.h" |
| 6 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 7 #include "base/threading/non_thread_safe.h" | 8 #include "base/threading/non_thread_safe.h" |
| 8 #include "components/invalidation/impl/p2p_invalidator.h" | 9 #include "components/invalidation/impl/p2p_invalidator.h" |
| 9 #include "components/invalidation/public/invalidation_service.h" | 10 #include "components/invalidation/public/invalidation_service.h" |
| 10 #include "components/keyed_service/core/keyed_service.h" | 11 #include "components/keyed_service/core/keyed_service.h" |
| 11 | 12 |
| 12 #ifndef COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_ | 13 #ifndef COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_ |
| 13 #define COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_ | 14 #define COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_ |
| 14 | 15 |
| 15 namespace net { | 16 namespace net { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 scoped_ptr<IdentityProvider> identity_provider_; | 61 scoped_ptr<IdentityProvider> identity_provider_; |
| 61 scoped_ptr<syncer::P2PInvalidator> invalidator_; | 62 scoped_ptr<syncer::P2PInvalidator> invalidator_; |
| 62 std::string invalidator_id_; | 63 std::string invalidator_id_; |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationService); | 65 DISALLOW_COPY_AND_ASSIGN(P2PInvalidationService); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace invalidation | 68 } // namespace invalidation |
| 68 | 69 |
| 69 #endif // COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_ | 70 #endif // COMPONENTS_INVALIDATION_IMPL_P2P_INVALIDATION_SERVICE_H_ |
| OLD | NEW |