| 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 <stdint.h> | |
| 6 | |
| 7 #include "components/sync/api/sync_merge_result.h" | 5 #include "components/sync/api/sync_merge_result.h" |
| 8 | 6 |
| 9 namespace syncer { | 7 namespace syncer { |
| 10 | 8 |
| 11 SyncMergeResult::SyncMergeResult(ModelType type) | 9 SyncMergeResult::SyncMergeResult(ModelType type) |
| 12 : model_type_(type), | 10 : model_type_(type), |
| 13 num_items_before_association_(0), | 11 num_items_before_association_(0), |
| 14 num_items_after_association_(0), | 12 num_items_after_association_(0), |
| 15 num_items_added_(0), | 13 num_items_added_(0), |
| 16 num_items_deleted_(0), | 14 num_items_deleted_(0), |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 77 |
| 80 int SyncMergeResult::num_items_modified() const { | 78 int SyncMergeResult::num_items_modified() const { |
| 81 return num_items_modified_; | 79 return num_items_modified_; |
| 82 } | 80 } |
| 83 | 81 |
| 84 int64_t SyncMergeResult::pre_association_version() const { | 82 int64_t SyncMergeResult::pre_association_version() const { |
| 85 return pre_association_version_; | 83 return pre_association_version_; |
| 86 } | 84 } |
| 87 | 85 |
| 88 } // namespace syncer | 86 } // namespace syncer |
| OLD | NEW |