| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "sync/internal_api/public/syncable/model_type.h" | 14 #include "sync/internal_api/public/base/model_type.h" |
| 15 | 15 |
| 16 namespace invalidation { | 16 namespace invalidation { |
| 17 | 17 |
| 18 class Invalidation; | 18 class Invalidation; |
| 19 class ObjectId; | 19 class ObjectId; |
| 20 | 20 |
| 21 } // namespace invalidation | 21 } // namespace invalidation |
| 22 | 22 |
| 23 namespace syncer { | 23 namespace syncer { |
| 24 | 24 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 36 syncable::ModelType* model_type); | 36 syncable::ModelType* model_type); |
| 37 | 37 |
| 38 std::string ObjectIdToString(const invalidation::ObjectId& object_id); | 38 std::string ObjectIdToString(const invalidation::ObjectId& object_id); |
| 39 | 39 |
| 40 std::string InvalidationToString( | 40 std::string InvalidationToString( |
| 41 const invalidation::Invalidation& invalidation); | 41 const invalidation::Invalidation& invalidation); |
| 42 | 42 |
| 43 } // namespace syncer | 43 } // namespace syncer |
| 44 | 44 |
| 45 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 45 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ |
| OLD | NEW |