OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_HELIUM_OBJECT_SYNC_STATE_H_ | 5 #ifndef BLIMP_HELIUM_OBJECT_SYNC_STATE_H_ |
6 #define BLIMP_HELIUM_OBJECT_SYNC_STATE_H_ | 6 #define BLIMP_HELIUM_OBJECT_SYNC_STATE_H_ |
7 | 7 |
8 #include "base/cancelable_callback.h" | 8 #include "base/cancelable_callback.h" |
| 9 #include "base/memory/ptr_util.h" |
9 #include "blimp/helium/blimp_helium_export.h" | 10 #include "blimp/helium/blimp_helium_export.h" |
10 #include "blimp/helium/lazy_syncable_adapter.h" | 11 #include "blimp/helium/lazy_syncable_adapter.h" |
11 #include "blimp/helium/syncable.h" | 12 #include "blimp/helium/syncable.h" |
12 #include "blimp/helium/update_scheduler.h" | 13 #include "blimp/helium/update_scheduler.h" |
13 #include "blimp/helium/version_vector.h" | 14 #include "blimp/helium/version_vector.h" |
14 | 15 |
15 namespace blimp { | 16 namespace blimp { |
16 namespace helium { | 17 namespace helium { |
17 | 18 |
18 // Each registered LazySyncable is associated with an ObjectSyncState object | 19 // Each registered LazySyncable is associated with an ObjectSyncState object |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // Used to allow in-progress Changeset preparation by |object_| to be canceled | 104 // Used to allow in-progress Changeset preparation by |object_| to be canceled |
104 // if the stream is torn down in the meantime. | 105 // if the stream is torn down in the meantime. |
105 base::CancelableCallback<void()> prepared_for_changeset_callback_; | 106 base::CancelableCallback<void()> prepared_for_changeset_callback_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(ObjectSyncState); | 108 DISALLOW_COPY_AND_ASSIGN(ObjectSyncState); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace helium | 111 } // namespace helium |
111 } // namespace blimp | 112 } // namespace blimp |
112 #endif // BLIMP_HELIUM_OBJECT_SYNC_STATE_H_ | 113 #endif // BLIMP_HELIUM_OBJECT_SYNC_STATE_H_ |
OLD | NEW |