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