| 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 #include "sync/engine/conflict_resolver.h" | 5 #include "sync/engine/conflict_resolver.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 14 #include "sync/engine/syncer.h" | 14 #include "sync/engine/syncer.h" |
| 15 #include "sync/engine/syncer_util.h" | 15 #include "sync/engine/syncer_util.h" |
| 16 #include "sync/protocol/nigori_specifics.pb.h" | 16 #include "sync/protocol/nigori_specifics.pb.h" |
| 17 #include "sync/protocol/service_constants.h" | |
| 18 #include "sync/sessions/status_controller.h" | 17 #include "sync/sessions/status_controller.h" |
| 19 #include "sync/syncable/syncable.h" | 18 #include "sync/syncable/syncable.h" |
| 20 #include "sync/util/cryptographer.h" | 19 #include "sync/util/cryptographer.h" |
| 21 | 20 |
| 22 using std::list; | 21 using std::list; |
| 23 using std::map; | 22 using std::map; |
| 24 using std::set; | 23 using std::set; |
| 25 using syncable::BaseTransaction; | 24 using syncable::BaseTransaction; |
| 26 using syncable::Directory; | 25 using syncable::Directory; |
| 27 using syncable::Entry; | 26 using syncable::Entry; |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 forward_progress = true; | 415 forward_progress = true; |
| 417 break; | 416 break; |
| 418 } | 417 } |
| 419 processed_items.insert(id); | 418 processed_items.insert(id); |
| 420 } | 419 } |
| 421 } | 420 } |
| 422 return forward_progress; | 421 return forward_progress; |
| 423 } | 422 } |
| 424 | 423 |
| 425 } // namespace browser_sync | 424 } // namespace browser_sync |
| OLD | NEW |