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_LOGGER_H_ | 5 #ifndef COMPONENTS_INVALIDATION_INVALIDATION_LOGGER_H_ |
6 #define COMPONENTS_INVALIDATION_INVALIDATION_LOGGER_H_ | 6 #define COMPONENTS_INVALIDATION_INVALIDATION_LOGGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "sync/internal_api/public/base/invalidator_state.h" |
13 #include "sync/notifier/invalidation_util.h" | 14 #include "sync/notifier/invalidation_util.h" |
14 #include "sync/notifier/invalidator_state.h" | |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 } // namespace base | 18 } // namespace base |
19 | 19 |
20 namespace syncer { | 20 namespace syncer { |
21 class InvalidationHandler; | 21 class InvalidationHandler; |
22 class ObjectIdInvalidationMap; | 22 class ObjectIdInvalidationMap; |
23 } // namespace syncer | 23 } // namespace syncer |
24 | 24 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // necessarily the same as the keys of latest_ids_, because they might | 92 // necessarily the same as the keys of latest_ids_, because they might |
93 // have not registered any object id). | 93 // have not registered any object id). |
94 std::multiset<std::string> registered_handlers_; | 94 std::multiset<std::string> registered_handlers_; |
95 | 95 |
96 DISALLOW_COPY_AND_ASSIGN(InvalidationLogger); | 96 DISALLOW_COPY_AND_ASSIGN(InvalidationLogger); |
97 }; | 97 }; |
98 | 98 |
99 } // namespace invalidation | 99 } // namespace invalidation |
100 | 100 |
101 #endif // COMPONENTS_INVALIDATION_INVALIDATION_LOGGER_H_ | 101 #endif // COMPONENTS_INVALIDATION_INVALIDATION_LOGGER_H_ |
OLD | NEW |