| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_ENGINE_CONFLICT_RESOLVER_H_ | 8 #ifndef CHROME_BROWSER_SYNC_ENGINE_CONFLICT_RESOLVER_H_ |
| 9 #define CHROME_BROWSER_SYNC_ENGINE_CONFLICT_RESOLVER_H_ | 9 #define CHROME_BROWSER_SYNC_ENGINE_CONFLICT_RESOLVER_H_ |
| 10 #pragma once | 10 #pragma once |
| 11 | 11 |
| 12 #include <map> | 12 #include <map> |
| 13 #include <set> | 13 #include <set> |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "chrome/browser/sync/engine/syncer_types.h" | 18 #include "chrome/browser/sync/engine/syncer_types.h" |
| 19 #include "chrome/common/deprecated/event_sys.h" | |
| 20 | 19 |
| 21 namespace syncable { | 20 namespace syncable { |
| 22 class BaseTransaction; | 21 class BaseTransaction; |
| 23 class Id; | 22 class Id; |
| 24 class MutableEntry; | 23 class MutableEntry; |
| 25 class ScopedDirLookup; | 24 class ScopedDirLookup; |
| 26 class WriteTransaction; | 25 class WriteTransaction; |
| 27 } // namespace syncable | 26 } // namespace syncable |
| 28 | 27 |
| 29 namespace browser_sync { | 28 namespace browser_sync { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 85 |
| 87 ConflictSetCountMap conflict_set_count_map_; | 86 ConflictSetCountMap conflict_set_count_map_; |
| 88 SimpleConflictCountMap simple_conflict_count_map_; | 87 SimpleConflictCountMap simple_conflict_count_map_; |
| 89 | 88 |
| 90 DISALLOW_COPY_AND_ASSIGN(ConflictResolver); | 89 DISALLOW_COPY_AND_ASSIGN(ConflictResolver); |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 } // namespace browser_sync | 92 } // namespace browser_sync |
| 94 | 93 |
| 95 #endif // CHROME_BROWSER_SYNC_ENGINE_CONFLICT_RESOLVER_H_ | 94 #endif // CHROME_BROWSER_SYNC_ENGINE_CONFLICT_RESOLVER_H_ |
| OLD | NEW |