| 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 // A simple wrapper around invalidation::InvalidationClient that | 5 // A simple wrapper around invalidation::InvalidationClient that |
| 6 // handles all the startup/shutdown details and hookups. | 6 // handles all the startup/shutdown details and hookups. |
| 7 | 7 |
| 8 #ifndef COMPONENTS_INVALIDATION_IMPL_SYNC_INVALIDATION_LISTENER_H_ | 8 #ifndef COMPONENTS_INVALIDATION_IMPL_SYNC_INVALIDATION_LISTENER_H_ |
| 9 #define COMPONENTS_INVALIDATION_IMPL_SYNC_INVALIDATION_LISTENER_H_ | 9 #define COMPONENTS_INVALIDATION_IMPL_SYNC_INVALIDATION_LISTENER_H_ |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | |
| 14 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 15 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
| 19 #include "components/invalidation/impl/invalidation_state_tracker.h" | 19 #include "components/invalidation/impl/invalidation_state_tracker.h" |
| 20 #include "components/invalidation/impl/state_writer.h" | 20 #include "components/invalidation/impl/state_writer.h" |
| 21 #include "components/invalidation/impl/sync_system_resources.h" | 21 #include "components/invalidation/impl/sync_system_resources.h" |
| 22 #include "components/invalidation/impl/unacked_invalidation_set.h" | 22 #include "components/invalidation/impl/unacked_invalidation_set.h" |
| 23 #include "components/invalidation/public/ack_handler.h" | 23 #include "components/invalidation/public/ack_handler.h" |
| 24 #include "components/invalidation/public/invalidation_export.h" | 24 #include "components/invalidation/public/invalidation_export.h" |
| 25 #include "components/invalidation/public/invalidator_state.h" | 25 #include "components/invalidation/public/invalidator_state.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 InvalidatorState push_client_state_; | 183 InvalidatorState push_client_state_; |
| 184 | 184 |
| 185 base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_; | 185 base::WeakPtrFactory<SyncInvalidationListener> weak_ptr_factory_; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener); | 187 DISALLOW_COPY_AND_ASSIGN(SyncInvalidationListener); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace syncer | 190 } // namespace syncer |
| 191 | 191 |
| 192 #endif // COMPONENTS_INVALIDATION_IMPL_SYNC_INVALIDATION_LISTENER_H_ | 192 #endif // COMPONENTS_INVALIDATION_IMPL_SYNC_INVALIDATION_LISTENER_H_ |
| OLD | NEW |