| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // The 'sessions' namespace comprises all the pieces of state that are | |
| 6 // combined to form a SyncSession instance. In that way, it can be thought of | |
| 7 // as an extension of the SyncSession type itself. Session scoping gives | |
| 8 // context to things like "conflict progress", "update progress", etc, and the | |
| 9 // separation this file provides allows clients to only include the parts they | |
| 10 // need rather than the entire session stack. | |
| 11 | |
| 12 #ifndef SYNC_SESSIONS_SESSION_STATE_H_ | |
| 13 #define SYNC_SESSIONS_SESSION_STATE_H_ | |
| 14 | |
| 15 #include <set> | |
| 16 | |
| 17 #include "sync/syncable/syncable_id.h" | |
| 18 | |
| 19 namespace syncer { | |
| 20 namespace sessions { | |
| 21 | |
| 22 // Grouping of all state that applies to a single ModelSafeGroup. | |
| 23 struct PerModelSafeGroupState { | |
| 24 explicit PerModelSafeGroupState(); | |
| 25 ~PerModelSafeGroupState(); | |
| 26 | |
| 27 std::set<syncable::Id> simple_conflict_ids; | |
| 28 }; | |
| 29 | |
| 30 } // namespace sessions | |
| 31 } // namespace syncer | |
| 32 | |
| 33 #endif // SYNC_SESSIONS_SESSION_STATE_H_ | |
| OLD | NEW |