OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "chrome/browser/sync/engine/conflict_resolver.h" | 5 #include "chrome/browser/sync/engine/conflict_resolver.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "chrome/browser/sync/engine/syncer.h" | 10 #include "chrome/browser/sync/engine/syncer.h" |
11 #include "chrome/browser/sync/engine/syncer_util.h" | 11 #include "chrome/browser/sync/engine/syncer_util.h" |
12 #include "chrome/browser/sync/protocol/service_constants.h" | 12 #include "chrome/browser/sync/protocol/service_constants.h" |
13 #include "chrome/browser/sync/sessions/status_controller.h" | 13 #include "chrome/browser/sync/sessions/status_controller.h" |
14 #include "chrome/browser/sync/syncable/directory_manager.h" | 14 #include "chrome/browser/sync/syncable/directory_manager.h" |
15 #include "chrome/browser/sync/syncable/syncable.h" | 15 #include "chrome/browser/sync/syncable/syncable.h" |
16 #include "chrome/browser/sync/util/character_set_converters.h" | |
17 #include "chrome/common/deprecated/event_sys-inl.h" | 16 #include "chrome/common/deprecated/event_sys-inl.h" |
18 | 17 |
19 using std::map; | 18 using std::map; |
20 using std::set; | 19 using std::set; |
21 using syncable::BaseTransaction; | 20 using syncable::BaseTransaction; |
22 using syncable::Directory; | 21 using syncable::Directory; |
23 using syncable::Entry; | 22 using syncable::Entry; |
24 using syncable::Id; | 23 using syncable::Id; |
25 using syncable::MutableEntry; | 24 using syncable::MutableEntry; |
26 using syncable::ScopedDirLookup; | 25 using syncable::ScopedDirLookup; |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 conflict_set_count_map_.erase(i++); | 500 conflict_set_count_map_.erase(i++); |
502 // METRIC self resolved conflict sets ++. | 501 // METRIC self resolved conflict sets ++. |
503 } else { | 502 } else { |
504 ++i; | 503 ++i; |
505 } | 504 } |
506 } | 505 } |
507 return rv; | 506 return rv; |
508 } | 507 } |
509 | 508 |
510 } // namespace browser_sync | 509 } // namespace browser_sync |
OLD | NEW |