| 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_INTERNAL_API_PUBLIC_BASE_INVALIDATION_UTIL_H_ |
| 8 #define SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 8 #define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_UTIL_H_ |
| 9 | 9 |
| 10 #include <iosfwd> | 10 #include <iosfwd> |
| 11 #include <map> | 11 #include <map> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "sync/base/sync_export.h" | 16 #include "sync/base/sync_export.h" |
| 17 #include "sync/internal_api/public/base/model_type.h" | 17 #include "sync/internal_api/public/base/model_type.h" |
| 18 | 18 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const invalidation::ObjectId& object_id); | 67 const invalidation::ObjectId& object_id); |
| 68 | 68 |
| 69 SYNC_EXPORT_PRIVATE ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet models); | 69 SYNC_EXPORT_PRIVATE ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet models); |
| 70 ModelTypeSet ObjectIdSetToModelTypeSet(const ObjectIdSet& ids); | 70 ModelTypeSet ObjectIdSetToModelTypeSet(const ObjectIdSet& ids); |
| 71 | 71 |
| 72 std::string InvalidationToString( | 72 std::string InvalidationToString( |
| 73 const invalidation::Invalidation& invalidation); | 73 const invalidation::Invalidation& invalidation); |
| 74 | 74 |
| 75 } // namespace syncer | 75 } // namespace syncer |
| 76 | 76 |
| 77 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 77 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_UTIL_H_ |
| OLD | NEW |