| 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 // A class that watches the syncer and attempts to resolve any conflicts that | 5 // A class that watches the syncer and attempts to resolve any conflicts that |
| 6 // occur. | 6 // occur. |
| 7 | 7 |
| 8 #ifndef SYNC_ENGINE_CONFLICT_RESOLVER_H_ | 8 #ifndef SYNC_ENGINE_CONFLICT_RESOLVER_H_ |
| 9 #define SYNC_ENGINE_CONFLICT_RESOLVER_H_ | 9 #define SYNC_ENGINE_CONFLICT_RESOLVER_H_ |
| 10 | 10 |
| 11 #include <set> | 11 #include <set> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | |
| 14 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" |
| 15 #include "sync/engine/syncer_types.h" | 15 #include "sync/engine/syncer_types.h" |
| 16 | 16 |
| 17 namespace syncer { | 17 namespace syncer { |
| 18 | 18 |
| 19 namespace syncable { | 19 namespace syncable { |
| 20 class Id; | 20 class Id; |
| 21 class WriteTransaction; | 21 class WriteTransaction; |
| 22 } // namespace syncable | 22 } // namespace syncable |
| 23 | 23 |
| 24 class Cryptographer; | 24 class Cryptographer; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 const Cryptographer* cryptographer, | 64 const Cryptographer* cryptographer, |
| 65 sessions::StatusController* status, | 65 sessions::StatusController* status, |
| 66 UpdateCounters* counters); | 66 UpdateCounters* counters); |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(ConflictResolver); | 68 DISALLOW_COPY_AND_ASSIGN(ConflictResolver); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace syncer | 71 } // namespace syncer |
| 72 | 72 |
| 73 #endif // SYNC_ENGINE_CONFLICT_RESOLVER_H_ | 73 #endif // SYNC_ENGINE_CONFLICT_RESOLVER_H_ |
| OLD | NEW |