| 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_PUBLIC_SINGLE_OBJECT_INVALIDATION_SET_H_ | 5 #ifndef COMPONENTS_INVALIDATION_PUBLIC_SINGLE_OBJECT_INVALIDATION_SET_H_ |
| 6 #define COMPONENTS_INVALIDATION_PUBLIC_SINGLE_OBJECT_INVALIDATION_SET_H_ | 6 #define COMPONENTS_INVALIDATION_PUBLIC_SINGLE_OBJECT_INVALIDATION_SET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <set> | 10 #include <set> |
| 9 | 11 |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "components/invalidation/public/invalidation.h" | 13 #include "components/invalidation/public/invalidation.h" |
| 12 #include "components/invalidation/public/invalidation_export.h" | 14 #include "components/invalidation/public/invalidation_export.h" |
| 13 #include "components/invalidation/public/invalidation_util.h" | 15 #include "components/invalidation/public/invalidation_util.h" |
| 14 | 16 |
| 15 namespace base { | 17 namespace base { |
| 16 class ListValue; | 18 class ListValue; |
| 17 } // namespace base | 19 } // namespace base |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 scoped_ptr<base::ListValue> ToValue() const; | 57 scoped_ptr<base::ListValue> ToValue() const; |
| 56 bool ResetFromValue(const base::ListValue& list); | 58 bool ResetFromValue(const base::ListValue& list); |
| 57 | 59 |
| 58 private: | 60 private: |
| 59 InvalidationsSet invalidations_; | 61 InvalidationsSet invalidations_; |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // syncer | 64 } // syncer |
| 63 | 65 |
| 64 #endif // COMPONENTS_INVALIDATION_PUBLIC_SINGLE_OBJECT_INVALIDATION_SET_H_ | 66 #endif // COMPONENTS_INVALIDATION_PUBLIC_SINGLE_OBJECT_INVALIDATION_SET_H_ |
| OLD | NEW |