OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 // Various utilities for dealing with invalidation data types. | 5 // Various utilities for dealing with invalidation data types. |
6 | 6 |
7 #ifndef SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 7 #ifndef SYNC_NOTIFIER_INVALIDATION_UTIL_H_ |
8 #define SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 8 #define SYNC_NOTIFIER_INVALIDATION_UTIL_H_ |
9 | 9 |
10 #include <iosfwd> | 10 #include <iosfwd> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "google/cacheinvalidation/include/types.h" | |
akalin
2013/11/21 04:31:36
is this necessary? don't we want to keep the inval
rlarocque
2013/11/21 20:09:27
This one can be removed. It's fixed in the latest
| |
15 #include "sync/base/sync_export.h" | 16 #include "sync/base/sync_export.h" |
16 #include "sync/internal_api/public/base/model_type.h" | 17 #include "sync/internal_api/public/base/model_type.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class DictionaryValue; | 20 class DictionaryValue; |
20 } // namespace | 21 } // namespace |
21 | 22 |
22 namespace invalidation { | 23 namespace invalidation { |
23 | 24 |
24 class Invalidation; | 25 class Invalidation; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 | 65 |
65 SYNC_EXPORT_PRIVATE ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet models); | 66 SYNC_EXPORT_PRIVATE ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet models); |
66 ModelTypeSet ObjectIdSetToModelTypeSet(const ObjectIdSet& ids); | 67 ModelTypeSet ObjectIdSetToModelTypeSet(const ObjectIdSet& ids); |
67 | 68 |
68 std::string InvalidationToString( | 69 std::string InvalidationToString( |
69 const invalidation::Invalidation& invalidation); | 70 const invalidation::Invalidation& invalidation); |
70 | 71 |
71 } // namespace syncer | 72 } // namespace syncer |
72 | 73 |
73 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 74 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ |
OLD | NEW |