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 | |
10 | 9 |
11 #include <set> | 10 #include <set> |
12 #include <string> | 11 #include <string> |
13 | 12 |
14 #include "sync/internal_api/public/base/model_type.h" | 13 #include "sync/internal_api/public/base/model_type.h" |
15 | 14 |
16 namespace invalidation { | 15 namespace invalidation { |
17 | 16 |
18 class Invalidation; | 17 class Invalidation; |
19 class ObjectId; | 18 class ObjectId; |
(...skipping 16 matching lines...) Expand all Loading... |
36 syncer::ModelType* model_type); | 35 syncer::ModelType* model_type); |
37 | 36 |
38 std::string ObjectIdToString(const invalidation::ObjectId& object_id); | 37 std::string ObjectIdToString(const invalidation::ObjectId& object_id); |
39 | 38 |
40 std::string InvalidationToString( | 39 std::string InvalidationToString( |
41 const invalidation::Invalidation& invalidation); | 40 const invalidation::Invalidation& invalidation); |
42 | 41 |
43 } // namespace syncer | 42 } // namespace syncer |
44 | 43 |
45 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ | 44 #endif // SYNC_NOTIFIER_INVALIDATION_UTIL_H_ |
OLD | NEW |