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_UNACKED_INVALIDATION_SET_H_ | 5 #ifndef COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_H_ |
6 #define COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_H_ | 6 #define COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 | 11 |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
12 #include "components/invalidation/public/invalidation.h" | 14 #include "components/invalidation/public/invalidation.h" |
13 #include "components/invalidation/public/invalidation_export.h" | 15 #include "components/invalidation/public/invalidation_export.h" |
14 #include "components/invalidation/public/invalidation_util.h" | 16 #include "components/invalidation/public/invalidation_util.h" |
15 | 17 |
16 namespace base { | 18 namespace base { |
17 class DictionaryValue; | 19 class DictionaryValue; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 InvalidationsSet invalidations_; | 114 InvalidationsSet invalidations_; |
113 }; | 115 }; |
114 | 116 |
115 typedef std::map<invalidation::ObjectId, | 117 typedef std::map<invalidation::ObjectId, |
116 UnackedInvalidationSet, | 118 UnackedInvalidationSet, |
117 ObjectIdLessThan> UnackedInvalidationsMap; | 119 ObjectIdLessThan> UnackedInvalidationsMap; |
118 | 120 |
119 } // namespace syncer | 121 } // namespace syncer |
120 | 122 |
121 #endif // COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_H_ | 123 #endif // COMPONENTS_INVALIDATION_IMPL_UNACKED_INVALIDATION_SET_H_ |
OLD | NEW |