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_UNACKED_INVALIDATION_SET_H_ | 5 #ifndef COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_ |
6 #define COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_ | 6 #define COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_ |
7 | 7 |
8 #include <vector> | 8 #include <set> |
9 | 9 |
| 10 #include "components/invalidation/invalidation.h" |
10 #include "components/invalidation/invalidation_export.h" | 11 #include "components/invalidation/invalidation_export.h" |
11 #include "sync/internal_api/public/base/invalidation.h" | 12 #include "components/invalidation/invalidation_util.h" |
12 #include "sync/internal_api/public/base/invalidation_util.h" | |
13 #include "sync/internal_api/public/util/weak_handle.h" | 13 #include "sync/internal_api/public/util/weak_handle.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class DictionaryValue; | 16 class DictionaryValue; |
17 } // namespace base | 17 } // namespace base |
18 | 18 |
19 namespace syncer { | 19 namespace syncer { |
20 | 20 |
21 namespace test_util { | 21 namespace test_util { |
22 class UnackedInvalidationSetEqMatcher; | 22 class UnackedInvalidationSetEqMatcher; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 InvalidationsSet invalidations_; | 109 InvalidationsSet invalidations_; |
110 }; | 110 }; |
111 | 111 |
112 typedef std::map<invalidation::ObjectId, | 112 typedef std::map<invalidation::ObjectId, |
113 UnackedInvalidationSet, | 113 UnackedInvalidationSet, |
114 ObjectIdLessThan> UnackedInvalidationsMap; | 114 ObjectIdLessThan> UnackedInvalidationsMap; |
115 | 115 |
116 } // namespace syncer | 116 } // namespace syncer |
117 | 117 |
118 #endif // COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_ | 118 #endif // COMPONENTS_INVALIDATION_UNACKED_INVALIDATION_SET_H_ |
OLD | NEW |